Skip to content

Commit

Permalink
cargo: strip symbols
Browse files Browse the repository at this point in the history
strip feature has been stabilized in cargo & rustc
  • Loading branch information
rumblefrog committed May 3, 2022
1 parent 055cfde commit af3f3bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ jobs:
- name: Build
run: yarn build --target=${{ matrix.target }}

- name: Strip binary
run: strip rf.node

- name: Test
run: yarn test

Expand Down Expand Up @@ -227,9 +224,6 @@ jobs:
- name: Build
run: yarn build --target=${{ matrix.target }}

- name: Strip binary
run: strip -ru rf.node

# Until GH action adds M1 runners, can't run aarch64 libs
- name: Test
if: ${{ matrix.architecture == 'x64' }}
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ features = ["napi-6", "event-queue-api", "try-catch-api"]
[profile.release]
lto = "fat"
codegen-units = 1
strip = true

0 comments on commit af3f3bf

Please sign in to comment.