diff options
| author | bit-aloo <sshourya17@gmail.com> | 2025-03-09 16:29:42 +0530 |
|---|---|---|
| committer | bit-aloo <sshourya17@gmail.com> | 2025-03-13 21:37:34 +0530 |
| commit | c6ecd8c95c84cd45e4de8abb767093d0f9aec670 (patch) | |
| tree | 9f65c5ae432ca92863a4612d003a185fe0adc564 | |
| parent | 9d5f0742a999c177fea10da93a77d5d8b797710d (diff) | |
| download | rust-c6ecd8c95c84cd45e4de8abb767093d0f9aec670.tar.gz rust-c6ecd8c95c84cd45e4de8abb767093d0f9aec670.zip | |
update the test_exclude to not use paths with path separators
| -rw-r--r-- | src/bootstrap/src/core/config/tests.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bootstrap/src/core/config/tests.rs b/src/bootstrap/src/core/config/tests.rs index 217df313c58..c7b6f3681b8 100644 --- a/src/bootstrap/src/core/config/tests.rs +++ b/src/bootstrap/src/core/config/tests.rs @@ -518,8 +518,7 @@ fn test_explicit_stage() { #[test] fn test_exclude() { - use std::path::MAIN_SEPARATOR; - let exclude_path = format!("test{}codegen", MAIN_SEPARATOR); + let exclude_path = "compiler"; let config = parse(&format!("build.exclude=[\"{}\"]", exclude_path)); let first_excluded = config |
