11 lines
523 B
TOML
11 lines
523 B
TOML
# 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 }
|