Last one of the year! С наступающим)
Fixes:
* users/wpcarro: remove use-package from emacs packages (it has been built-in
for a while now)
* users/sterni: the same thing
* users/aspen: remove `coz`, forwardport `gdmap` from stable
* users/flokli: dropped corneish_zen firmware from CI
This firmware depends on a non-reproducible FOD which, when updated, causes
build failures. We have worked around this repeatedly, but it needs to be
fixed properly.
* tvix: regenerate Go protobufs
* tvix: address new clippy lints
* tvix/{castore,store,build}-go: update grpc/protobuf libraries
* tvix/eval: formatting fixes
* 3p/overlays/tvl: work around GCC 14 -Werrors
Change-Id: Ice5948ca7780192fb7d2abc6a48971fb875f03c9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12933
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: aspen <root@gws.fyi>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
12 lines
419 B
Rust
12 lines
419 B
Rust
use path_clean::PathClean;
|
|
use std::path::PathBuf;
|
|
|
|
/// This function should match the behavior of canonPath() in
|
|
/// src/libutil/util.cc of cppnix. Currently it does not match that
|
|
/// behavior; it uses the `path_clean` library which is based on the
|
|
/// Go standard library
|
|
// TODO: make this match the behavior of cppnix
|
|
// TODO: write tests for this
|
|
pub fn canon_path(path: PathBuf) -> PathBuf {
|
|
path.clean()
|
|
}
|