Skip to content

Commit 677e542

Browse files
committed
[WIP]
1 parent 395181c commit 677e542

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

build_system/prepare.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ pub(crate) fn prepare(dirs: &Dirs) {
1818
}
1919

2020
pub(crate) fn prepare_stdlib(dirs: &Dirs, rustc: &Path) {
21+
// FIXME don't recreate from scratch each time to preserve mtime as used by cargo to determine
22+
// if a crate needs to be rebuilt
2123
let sysroot_src_orig = get_default_sysroot(rustc).join("lib/rustlib/src/rust");
2224
assert!(sysroot_src_orig.exists());
2325

build_system/tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ impl<'a> TestRunner<'a> {
395395
);
396396
}
397397
TestCaseCmd::JitBin { source, args } => {
398+
// FIXME skip if --no-unstable-options
398399
let mut jit_cmd = self.rustc_command([
399400
"-Zunstable-options",
400401
"-Cllvm-args=mode=jit",

0 commit comments

Comments
 (0)