Closed
Description
Context
Currently, we're using a custom to_lexical_absolute()
function (copied from https://internals.rust-lang.org/t/path-to-lexical-absolute/14940) to transform relative paths to their absolute counterparts without following symlinks, cf.
Lines 47 to 69 in 1780735
There's discussions around stabilizing std::path::absolute()
which is currently available as an unstable feature in nightly Rust. We should check if we can replace our custom to_lexical_absolute()
with this method once it's stabilized.
Alternatives
Do nothing and keep maintaining a function that could be replaced by a stdlib method.