We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ced1fda commit 6c46f4fCopy full SHA for 6c46f4f
src/bootstrap/native.rs
@@ -133,8 +133,8 @@ impl Step for Llvm {
133
// This setting makes the LLVM tools link to the dynamic LLVM library,
134
// which saves both memory during parallel links and overall disk space
135
// for the tools. We don't distribute any of those tools, so this is
136
- // just a local concern. However, this doesn't seem to work on Windows.
137
- if !target.contains("windows") {
+ // just a local concern. However, it doesn't work well everywhere.
+ if target.contains("linux-gnu") || target.contains("apple-darwin") {
138
cfg.define("LLVM_LINK_LLVM_DYLIB", "ON");
139
}
140
0 commit comments