Skip to content

Commit

Permalink
nimble: remove redundant stripping of zig-produced binary
Browse files Browse the repository at this point in the history
We shouldn't need an extra step for this with Zig from 0.10.0 onwards.
  • Loading branch information
ee7 committed Aug 15, 2022
1 parent 0745baa commit 800a2fa
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions configlet.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,3 @@ task test, "Runs the test suite":

before build:
ensureThatNimblePackagesArePatched()

# Strip the binary when it is produced by `zig cc`.
when defined(linux):
after build:
if existsEnv("GITHUB_ACTIONS") and findExe("zigcc").len > 0:
exec "readelf -p .comment ./configlet"
echo "stripping binary..."
exec "strip -s -R .comment ./configlet"

0 comments on commit 800a2fa

Please sign in to comment.