diff options
| author | jyn <github@jyn.dev> | 2023-12-25 07:46:12 -0500 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-01-07 13:04:40 +0300 |
| commit | 6a409ddbe40f55dd5f89442d24548b42b0822f60 (patch) | |
| tree | a42c9158a04ff21b991534b04f0486c2f059067b /compiler/rustc_builtin_macros/src | |
| parent | 1490bbab925ddcc6496f8a92bcbe352f7f1ad9c2 (diff) | |
| download | rust-6a409ddbe40f55dd5f89442d24548b42b0822f60.tar.gz rust-6a409ddbe40f55dd5f89442d24548b42b0822f60.zip | |
add a new `optimized_compiler_builtins` option
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.
Diffstat (limited to 'compiler/rustc_builtin_macros/src')
0 files changed, 0 insertions, 0 deletions
