mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 00:18:12 +08:00
* Test out wasm unwinding * Implement panic catching for native targets * Hack in support for recovering panics in wasm * Keep debug info in release builds * Check for DynAnyNode in Backtrace because that can't be inlined as well * Improve error dialog * Use a mutex for storing the frontend state instead of a RefCell * Code review * Update crash text --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
16 lines
383 B
TOML
16 lines
383 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",
|
|
]
|
|
|
|
[unstable]
|
|
build-std = ["std"]
|