Sandbox node graph execution on native targets and attempt recovery from panics on Wasm (#1846)

* 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>
This commit is contained in:
Dennis Kobert
2024-07-28 16:46:44 -07:00
committed by GitHub
co-authored by Keavon Chambers
parent 06177597ae
commit 5b1d3a0ae4
8 changed files with 110 additions and 46 deletions
Generated
+4
View File
@@ -2449,6 +2449,7 @@ dependencies = [
"serde",
"serde_json",
"specta",
"spin",
"thiserror",
"tokio",
"usvg",
@@ -5775,6 +5776,9 @@ name = "spin"
version = "0.9.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
dependencies = [
"lock_api",
]
[[package]]
name = "spirv"