You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in particular, this makes the `c` feature for compiler-builtins an explicit opt-in, rather than silently detected by whether `llvm-project` is checked out on disk.
exposing this is necessary because the `cc` crate doesn't support cross-compiling to MSVC, and we want people to be able to run `x check --target foo` regardless of whether they have a c toolchain available.
this also uses the new option in CI, where we *do* want to optimize compiler_builtins.
the new option is off by default for the `dev` channel and on otherwise.
let compiler_builtins_root = builder.src.join("src/llvm-project/compiler-rt");
406
+
if !compiler_builtins_root.exists(){
407
+
panic!(
408
+
"need LLVM sources available to build `compiler-rt`, but they weren't present; consider enabling `build.submodules = true` or disabling `optimized-compiler-builtins`"
409
+
);
410
+
}
400
411
// Note that `libprofiler_builtins/build.rs` also computes this so if
401
412
// you're changing something here please also change that.
summary:"The dist.missing-tools config option was deprecated, as it was unused. If you are using it, remove it from your config, it will be removed soon.",
108
108
},
109
+
ChangeInfo{
110
+
change_id:102579,
111
+
severity:ChangeSeverity::Warning,
112
+
summary:"A new `optimized-compiler-builtins` option has been introduced. Whether to build llvm's `compiler-rt` from source is no longer implicitly controlled by git state. See the PR for more details.",
0 commit comments