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

test: reduce the file size with the --strip parameter #47

Closed
wants to merge 1 commit into from

Conversation

yisibl
Copy link
Member

@yisibl yisibl commented Jan 13, 2022

Test @napi-rs/cli@2.4.0 add --strip parameter napi-rs/napi-rs#1026

The command this executes when compiling Rust used:

RUSTFLAGS='-C link-arg=-s' cargo build --release

See: rust-lang/cargo#3483 (comment)

@yisibl yisibl force-pushed the add-strip branch 2 times, most recently from 949b195 to 3169a71 Compare January 13, 2022 12:36
@yisibl yisibl reopened this Jan 20, 2022
@yisibl yisibl changed the title feat: reduce the file size with the --strip parameter test: reduce the file size with the --strip parameter Jan 21, 2022
@yisibl
Copy link
Member Author

yisibl commented Feb 9, 2022

This PR is for testing only, we currently prefer to use the more reliable llvm-strip in CI. https://github.com/yisibl/resvg-js/blob/ffe6b7456c88c7261620cfdff78e52635a4cf88c/.github/workflows/CI.yaml#L56

@yisibl yisibl closed this Feb 9, 2022
@yisibl yisibl deleted the add-strip branch May 7, 2022 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant