/ justapi / .cargo / config.toml
swadhinbiswas chore: add Cargo.lock and remaining project files · 7/10/2026
abcc328
12 lines · 501 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
# Miri configuration for stacked borrows and strict provenance checking.
# Applied automatically when running `cargo miri test`.
[miri]
# Use the strict provenance model (required by wasmtime's VM pointers)
# and treat deallocation with size/align mismatches as UB.
rustc_flags = ["-Zmiri-strict-provenance", "-Zmiri-symbolic-alignment-check", "-Zmiri-track-raw-pointers"]

[env]
# Bump the fuel limit when running under miri to avoid spurious
# "out of fuel" errors in WASM tests.
JUSTAPI_MIRI = "1"