We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71213fd commit 188afddCopy full SHA for 188afdd
src/bootstrap/src/core/build_steps/llvm.rs
@@ -374,13 +374,13 @@ impl Step for Llvm {
374
cfg.define("LLVM_PROFDATA_FILE", path);
375
}
376
377
- // Disable zstd to avoid a dependency on libzstd.so.
378
- cfg.define("LLVM_ENABLE_ZSTD", "OFF");
379
-
+ // Libraries for ELF compression.
380
if !target.is_windows() {
381
cfg.define("LLVM_ENABLE_ZLIB", "ON");
+ cfg.define("LLVM_ENABLE_ZSTD", "ON");
382
} else {
383
cfg.define("LLVM_ENABLE_ZLIB", "OFF");
+ cfg.define("LLVM_ENABLE_ZSTD", "OFF");
384
385
386
// Are we compiling for iOS/tvOS/watchOS/visionOS?
0 commit comments