Skip to content

Commit

Permalink
Merge pull request #30651 from def-/pr-revert-zstd
Browse files Browse the repository at this point in the history
Revert "ci: Try zstd compression for debug sections"
  • Loading branch information
def- authored Nov 28, 2024
2 parents 101bc31 + 93bee47 commit 33af11a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,12 @@ build:debug --@rules_rust//:extra_rustc_flag="-Csplit-debuginfo=unpacked"

# TODO(parkmycar): Enable this for macOS. `toolchains_llvm` defaults to ld64 which
# doesn't support zlib compression.
build:linux --linkopt="-Wl,--compress-debug-sections=zstd"
build:linux --@rules_rust//:extra_rustc_flag="-Clink-arg=-Wl,--compress-debug-sections=zstd"
build:linux --linkopt="-Wl,-O3"
build:linux --linkopt="-Wl,--compress-debug-sections=zlib"
build:linux --@rules_rust//:extra_rustc_flag="-Clink-arg=-Wl,--compress-debug-sections=zlib"
# Specifying "-O2" uses level 6 zlib compression.
build:linux --linkopt="-Wl,-O2"
build:linux --@rules_rust//:extra_rustc_flag="-Clink-arg=-Wl,-O2"
build:linux --copt="-gz=zstd"
build:linux --copt="-gz=zlib"

# Match the DWARF version used by Rust
#
Expand Down

0 comments on commit 33af11a

Please sign in to comment.