We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
llvm-has-rust-patches
llvm-config
1 parent 5f40394 commit 174a311Copy full SHA for 174a311
src/bootstrap/src/core/config/config.rs
@@ -1809,14 +1809,7 @@ impl Config {
1809
}
1810
target.llvm_config = Some(config.src.join(s));
1811
1812
- if let Some(patches) = cfg.llvm_has_rust_patches {
1813
- assert_eq!(
1814
- config.submodules,
1815
- Some(false),
1816
- "cannot set `llvm-has-rust-patches` for a managed submodule (set `build.submodules = false` if you want to apply patches)"
1817
- );
1818
- target.llvm_has_rust_patches = Some(patches);
1819
- }
+ target.llvm_has_rust_patches = cfg.llvm_has_rust_patches;
1820
if let Some(ref s) = cfg.llvm_filecheck {
1821
target.llvm_filecheck = Some(config.src.join(s));
1822
0 commit comments