mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 06:28:11 +08:00
* rust-gpu alpha.1: update nix flake * rust-gpu alpha.1: disable non-working mold shell hook * rust-gpu alpha.1: update rust-gpu to `0.10.0-alpha.1` on crates * Review * Fix gpu nodes * Reduce wasm size --------- Co-authored-by: Timon <me@timon.zip>
19 lines
528 B
TOML
19 lines
528 B
TOML
[target.wasm32-unknown-unknown]
|
|
rustflags = [
|
|
# Currently disabled because of https://github.com/GraphiteEditor/Graphite/issues/1262
|
|
# The current simd implementation leads to undefined behavior
|
|
#"-C",
|
|
#"target-feature=+simd128",
|
|
"-C",
|
|
"target-feature=+bulk-memory",
|
|
"-C",
|
|
"link-arg=--max-memory=4294967296",
|
|
"--cfg=web_sys_unstable_apis",
|
|
# TODO: Remove this and find a better way to stay within the 25MB limit of cloudflare pages
|
|
"-C",
|
|
"opt-level=s",
|
|
]
|
|
|
|
[env]
|
|
CARGO_WORKSPACE_DIR = { value = "", relative = true }
|