Add strip=always to release builds (#15774)

This commit is contained in:
Preston Van Loon
2025-09-29 12:00:28 -05:00
committed by GitHub
parent 6139d58fa5
commit 18efd620dc
2 changed files with 4 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ build:minimal --@io_bazel_rules_go//go/config:tags=minimal
build:release --compilation_mode=opt
build:release --stamp
build:release --define pgo_enabled=1
build:release --strip=always
# Build binary with cgo symbolizer for debugging / profiling.
build:cgo_symbolizer --copt=-g

3
changelog/pvl-strip.md Normal file
View File

@@ -0,0 +1,3 @@
### Changed
- Bazel builds with `--config=release` now properly apply `--strip=always` to strip debug symbols from the release assets.