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 f3fde2a commit ef3fd5cCopy full SHA for ef3fd5c
src/bootstrap/src/core/config/tests.rs
@@ -454,3 +454,17 @@ fn check_rustc_if_unchanged_paths() {
454
assert!(config.src.join(p).exists(), "{p} doesn't exist.");
455
}
456
457
+
458
+#[test]
459
+fn test_exclude() {
460
+ let config = parse("build.exclude=[\"test/codegen\"]");
461
462
+ let first_excluded = config
463
+ .skip
464
+ .first()
465
+ .expect("Expected at least one excluded path")
466
+ .to_str()
467
+ .expect("Failed to convert excluded path to string");
468
469
+ assert_eq!(first_excluded, "test/codegen");
470
+}
0 commit comments