You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0 commit comments