Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: cross-compiled executable has large comment section #788

Open
ee7 opened this issue Aug 16, 2023 · 0 comments
Open

build: cross-compiled executable has large comment section #788

ee7 opened this issue Aug 16, 2023 · 0 comments
Labels
kind: build Non-.nim changes that affect the release binary

Comments

@ee7
Copy link
Member

ee7 commented Aug 16, 2023

Follow-up from 0e8d665

Some options:

  1. Wait for zig objcopy to support -R, --remove-section
  2. Install llvm-strip in CI.
  3. Run a strip that supports the executable as a target
  4. Stop the comment section from being added in the first place
@ee7 ee7 added the kind: build Non-.nim changes that affect the release binary label Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: build Non-.nim changes that affect the release binary
Projects
None yet
Development

No branches or pull requests

1 participant