chore(workspace): Rust workspace R0 — builder image, core crate (JS-compatible JSON, report contracts, facade), wasm facade, core-wasm package with proofs

This commit is contained in:
bchanot committed 2026-10-13 00:01:25 +02:00
1 parent 5fec0654d3
commit 2a38fa37b5
39 files changed
+1913 -1

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
# Workspace-level Cargo configuration (RUST_ARCHITECTURE_REVIEW III.3, III.5).
[target.wasm32-unknown-unknown]
# The shadow stack of the browser module, set explicitly (the toolchain default is also
# 1 MiB). packages/core-wasm/tests/panic.test.ts proves that exhausting it traps.
rustflags = ["-C", "link-arg=-zstack-size=1048576"]
[env]
# ts-rs writes the TypeScript types of the contracts here on `cargo test -p faunosteo-core --features ts`.
TS_RS_EXPORT_DIR = { value = "packages/core-wasm/types", relative = true }