Skip to content

Commit

Permalink
build: support all Node.js Tier1 platforms, partial support Tier2/Exp…
Browse files Browse the repository at this point in the history
…erimental platforms

- Add support for
  - armv7-unknown-linux-gnueabihf
  - aarch64-unknown-linux-gnu
  - aarch64-linux-android
  - aarch64-apple-darwin
  - x86_64-unknown-linux-musl

- Fix Glibc compatible issue for  x86_64-unknown-linux-gnu
- Reduce binary size
  • Loading branch information
Brooooooklyn committed Mar 26, 2021
1 parent 3ab6aa4 commit c300041
Show file tree
Hide file tree
Showing 38 changed files with 1,395 additions and 160 deletions.
8 changes: 8 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc-10"

[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc-10"

[target.x86_64-unknown-linux-musl]
crt_static = false
Loading

1 comment on commit c300041

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: c300041 Previous: 3ab6aa4 Ratio
Draw house#@napi-rs/skia 20 ops/sec (±0.47%) 28.1 ops/sec (±1.16%) 1.41
Draw house#node-canvas 21 ops/sec (±1%) 27.8 ops/sec (±1.28%) 1.32
Draw gradient#@napi-rs/skia 19 ops/sec (±1.18%) 27 ops/sec (±1.17%) 1.42
Draw gradient#node-canvas 20 ops/sec (±0.53%) 26 ops/sec (±1.33%) 1.30

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.