diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-12-09 01:19:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-09 01:19:16 +0100 |
commit | 393abed3873d83019feb5bcebb10a6929133862a (patch) | |
tree | c346e6d628e6b037fb8f881a70ca2ae6f70692b6 /.cargo | |
parent | 123d9ea047a2e10803e260ebf00f31fcc98463ee (diff) |
feat: bring back WebGPU (#20812)
Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
Co-authored-by: Kenta Moriuchi <moriken@kimamass.com>
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to '.cargo')
-rw-r--r-- | .cargo/config.toml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml index 590f03358..f5b2f124b 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -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 = [ |