We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab1527f commit 0323bf6Copy full SHA for 0323bf6
src/bootstrap/src/core/build_steps/llvm.rs
@@ -368,13 +368,13 @@ impl Step for Llvm {
368
cfg.define("LLVM_PROFDATA_FILE", path);
369
}
370
371
- // Disable zstd to avoid a dependency on libzstd.so.
372
- cfg.define("LLVM_ENABLE_ZSTD", "OFF");
373
-
+ // Libraries for ELF compression.
374
if !target.is_windows() {
375
cfg.define("LLVM_ENABLE_ZLIB", "ON");
+ cfg.define("LLVM_ENABLE_ZSTD", "ON");
376
} else {
377
cfg.define("LLVM_ENABLE_ZLIB", "OFF");
+ cfg.define("LLVM_ENABLE_ZSTD", "OFF");
378
379
380
// Are we compiling for iOS/tvOS/watchOS/visionOS?
0 commit comments