We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--config
1 parent 232f913 commit 985d49bCopy full SHA for 985d49b
tests/testsuite/profile_trim_paths.rs
@@ -523,22 +523,9 @@ fn object_works_helper(run: impl Fn(&std::path::Path) -> Vec<u8>) {
523
524
p.cargo("clean").run();
525
526
- p.change_file(
527
- "Cargo.toml",
528
- r#"
529
- [package]
530
- name = "foo"
531
- version = "0.0.1"
532
-
533
- [dependencies]
534
- bar = "0.0.1"
535
536
- [profile.dev]
537
- trim-paths = "object"
538
- "#,
539
- );
540
541
p.cargo("build --verbose -Ztrim-paths")
+ .arg("--config")
+ .arg(r#"profile.dev.trim-paths="object""#)
542
.masquerade_as_nightly_cargo(&["-Ztrim-paths"])
543
.with_stderr(&format!(
544
"\
0 commit comments