Skip to content

Commit a48469e

Browse files
authored
use cargo build --lib
1 parent f9dafcc commit a48469e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Formula/w/wgpu-native.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class WgpuNative < Formula
1313

1414
def install
1515
# Not using `cargo install` because wgpu-native doesn't ship binaries
16-
system "cargo", "build", "--release", "--locked"
16+
system "cargo", "build", "--jobs", ENV.make_jobs, "--lib", "--release", "--locked"
1717

1818
# Manually install artifacts
1919
include.install "ffi/webgpu-headers/webgpu.h"

0 commit comments

Comments
 (0)