Skip to content

Commit

Permalink
feat: bring back WebGPU (denoland#20812)
Browse files Browse the repository at this point in the history
Signed-off-by: Leo Kettmeir <[email protected]>
Co-authored-by: Kenta Moriuchi <[email protected]>
Co-authored-by: Bartek Iwańczuk <[email protected]>
  • Loading branch information
3 people committed Dec 9, 2023
1 parent 123d9ea commit 393abed
Show file tree
Hide file tree
Showing 52 changed files with 15,487 additions and 103 deletions.
11 changes: 10 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,17 @@ rustflags = [
"link-arg=/STACK:4194304",
]

[target.x86_64-apple-darwin]
rustflags = [
"-C",
"link-args=-weak_framework Metal -weak_framework MetalPerformanceShaders -weak_framework QuartzCore -weak_framework CoreGraphics",
]

[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
rustflags = [
"-C",
"link-args=-fuse-ld=lld -weak_framework Metal -weak_framework MetalPerformanceShaders -weak_framework QuartzCore -weak_framework CoreGraphics",
]

[target.'cfg(all())']
rustflags = [
Expand Down
Loading

0 comments on commit 393abed

Please sign in to comment.