diff options
| author | bors <bors@rust-lang.org> | 2025-07-13 15:32:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-07-13 15:32:13 +0000 |
| commit | 56835d7ac14da9f966e1ff39fd9ffd2e29b764d1 (patch) | |
| tree | 74bf7603a760a610352e6f0fa88668b71cb6d8a2 /compiler/rustc_llvm/build.rs | |
| parent | 7e310f4b9a3f166d833ed09cf1d1ff96ab84b72c (diff) | |
| parent | 3ff549f6d33ac15df8307025ee068cada8b1e021 (diff) | |
| download | rust-56835d7ac14da9f966e1ff39fd9ffd2e29b764d1.tar.gz rust-56835d7ac14da9f966e1ff39fd9ffd2e29b764d1.zip | |
Auto merge of #143888 - matthiaskrgr:rollup-fv9x7kf, r=matthiaskrgr
Rollup of 11 pull requests Successful merges: - rust-lang/rust#143301 (`tests/ui`: A New Order [26/N]) - rust-lang/rust#143519 (Check assoc consts and tys later like assoc fns) - rust-lang/rust#143554 (slice: Mark `rotate_left`, `rotate_right` unstably const) - rust-lang/rust#143634 (interpret/allocation: expose init + write_wildcards on a range) - rust-lang/rust#143685 (Resolve: merge `source_bindings` and `target_bindings` into `bindings`) - rust-lang/rust#143734 (Refactor resolve resolution bindings) - rust-lang/rust#143774 (constify `From` and `Into`) - rust-lang/rust#143785 (Add --compile-time-deps argument for x check) - rust-lang/rust#143786 (Fix fallback for CI_JOB_NAME) - rust-lang/rust#143825 (clippy: fix test filtering when TESTNAME is empty) - rust-lang/rust#143826 (Fix command trace) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_llvm/build.rs')
| -rw-r--r-- | compiler/rustc_llvm/build.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs index 9a6549379d3..069b684ad09 100644 --- a/compiler/rustc_llvm/build.rs +++ b/compiler/rustc_llvm/build.rs @@ -106,6 +106,10 @@ fn output(cmd: &mut Command) -> String { } fn main() { + if cfg!(feature = "check_only") { + return; + } + for component in REQUIRED_COMPONENTS.iter().chain(OPTIONAL_COMPONENTS.iter()) { println!("cargo:rustc-check-cfg=cfg(llvm_component,values(\"{component}\"))"); } |
