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.
1 parent da0dfd3 commit a1d20dbCopy full SHA for a1d20db
tests/testsuite/check.rs
@@ -1709,3 +1709,13 @@ fn check_build_should_not_output_files_to_artifact_dir() {
1709
1710
"#]]);
1711
}
1712
+
1713
+#[cargo_test]
1714
+fn check_build_should_lock_artifact_dir() {
1715
+ let p = project()
1716
+ .file("src/main.rs", r#"fn main() { println!("Hello, World!") }"#)
1717
+ .build();
1718
1719
+ p.cargo("check").enable_mac_dsym().run();
1720
+ assert!(p.root().join("target/debug/.cargo-lock").exists());
1721
+}
0 commit comments