diff --git a/account/template/Cargo.toml b/account/template/Cargo.toml index 4b38114..d02cc41 100644 --- a/account/template/Cargo.toml +++ b/account/template/Cargo.toml @@ -29,3 +29,14 @@ opt-level = "z" # ensures that panics do not pull in a bunch of standard # library code unintentionally panic = "abort" + +[profile.dev] +# Explicitly disable panic infrastructure on Wasm, as +# there is no proper support for them anyway, and it +# ensures that panics do not pull in a bunch of standard +# library code unintentionally +panic = "abort" +opt-level = 1 +debug-assertions = false +overflow-checks = false +debug = true \ No newline at end of file