Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use Path::push to construct remap-path-prefix (#14908)
### What does this PR try to resolve? It creates paths with correct separators for different systems. ### How should we test and review this PR? Try out `-Ztrim-paths` on Windows. Run `cargo build --verbose` and see if slashes in `--remap-path-prefix` use the system's path separators. ```toml cargo-features = ["trim-paths"] [package] name = "foo" [profile.release]trim-paths = true ``` ### Additional information
- Loading branch information