# SPDX-License-Identifier: MIT [package] # A measuring host, not part of the core: the core built for wasm32-unknown-unknown and run # under Node (wasm/bench.mjs), to see what a browser site would get. name = "arm7tdmi-wasm-bench" version = "0.1.0" edition = "2021" license = "MIT AND Zlib" publish = false [lib] crate-type = ["cdylib"] [dependencies] arm7tdmi = { path = ".." } # A host crate repeats the release profile it wants (methodology, "Measuring speed"); wasm # has no unwinding, so panic = "abort" (the harness's BIOS stop then aborts: the ROMs # measured here never take it). [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 panic = "abort" [workspace]