diff --git a/src/bootstrap/src/core/config/tests.rs b/src/bootstrap/src/core/config/tests.rs index 378d069672f5d..0ea30ffc6362f 100644 --- a/src/bootstrap/src/core/config/tests.rs +++ b/src/bootstrap/src/core/config/tests.rs @@ -66,6 +66,9 @@ fn detect_src_and_out() { // test if build-dir was manually given in config.toml if let Some(custom_build_dir) = build_dir { + // FIXME(jieyouxu): this assertion fails on native Windows because if the rust checkout + // and build directory is on `E:\\` not `C:\\`, then it fails with e.g. `E:\\tmp != + // C:\\tmp`. assert_eq!(&cfg.out, Path::new(custom_build_dir)); } // test the native bootstrap way