Skip to content

Commit

Permalink
build: zig 0.11 compatible [skip skia]
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Sep 18, 2023
1 parent e4ad24d commit c1c77a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ fn main() {
.static_crt(true);
}
"linux" => {
println!("cargo:rustc-cdylib-link-arg=-Wl,--allow-multiple-definition");
if compile_target_arch != "arm" {
println!("cargo:rustc-cdylib-link-arg=-Wl,--allow-multiple-definition");
}
if compile_target_env != "gnu" {
build.cpp_set_stdlib("stdc++");
} else {
Expand Down

1 comment on commit c1c77a2

@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: c1c77a2 Previous: 969d8eb Ratio
Draw house#skia-canvas 25 ops/sec (±0.37%) 24 ops/sec (±0.06%) 0.96
Draw house#node-canvas 30 ops/sec (±1.6%) 29 ops/sec (±0.29%) 0.97
Draw house#@napi-rs/skia 23 ops/sec (±1.24%) 23 ops/sec (±0.24%) 1
Draw gradient#skia-canvas 23.4 ops/sec (±0.58%) 23 ops/sec (±0.05%) 0.98
Draw gradient#node-canvas 29 ops/sec (±0.29%) 27 ops/sec (±0.31%) 0.93
Draw gradient#@napi-rs/skia 23.3 ops/sec (±0.54%) 22 ops/sec (±0.31%) 0.94

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

Please sign in to comment.