config.toml 362 B

12345678910
  1. [target.'cfg(target_arch = "wasm32")']
  2. rustflags = [
  3. "-C", "panic=abort",
  4. # "-C", "lto=yes", // https://users.rust-lang.org/t/error-lto-can-only-be-run-for-executables-cdylibs-and-static-library-outputs/73369
  5. "-C", "embed-bitcode=yes",
  6. "-C", "debuginfo=0",
  7. "-C", "opt-level=z",
  8. "-C", "codegen-units=1",
  9. "-C", "debug-assertions=no",
  10. ]