diff --git a/.cargo/config.toml b/.cargo/config.toml index abd0872..a91a31b 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -6,6 +6,17 @@ rustflags = [ "-Clto", "-Zvirtual-function-elimination", "-Zlocation-detail=none", + + # Configuration for these lints should be placed in `.clippy.toml` at the crate root. + "-Dwarnings", +] + +[target.wasm32-unknown-unknown] +rustflags = [ + "-C", + "link-args=-z stack-size=268435456", + "-C", + "target-feature=+atomics,+bulk-memory,+mutable-globals", ]