We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
trim-paths
1 parent 6187019 commit 7535971Copy full SHA for 7535971
src/cargo/util/toml/mod.rs
@@ -3007,6 +3007,10 @@ impl TomlProfile {
3007
if let Some(v) = &profile.strip {
3008
self.strip = Some(v.clone());
3009
}
3010
+
3011
+ if let Some(v) = &profile.trim_paths {
3012
+ self.trim_paths = Some(v.clone())
3013
+ }
3014
3015
3016
tests/testsuite/profile_trim_paths.rs
@@ -192,7 +192,7 @@ fn profile_merge_works() {
192
"\
193
[COMPILING] foo v0.0.1 ([CWD])
194
[RUNNING] `rustc [..]\
195
- -Zremap-path-scope=macro \
+ -Zremap-path-scope=diagnostics \
196
--remap-path-prefix=[..]/lib/rustlib/src/rust=/rustc/[..] \
197
--remap-path-prefix=[CWD]= [..]
198
[FINISHED] custom [..]",
0 commit comments