cad-editor/.cargo
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 88450f0cd1 fix(web): keep wasm target_features section so wasm-opt accepts bulk-memory
The release profile's strip = true (added in #324) strips the wasm
target_features custom section. Without it, wasm-opt can't tell that
bulk-memory is enabled and rejects the module's memory.fill/copy ops
("operations require bulk memory"), failing the release web build — the
newer Rust toolchain now emits those ops by default. Override strip only
for the wasm target with -Cstrip=none, so native release binaries stay
stripped while the wasm keeps its feature section.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 09:36:43 +03:00
..
config.toml fix(web): keep wasm target_features section so wasm-opt accepts bulk-memory 2026-07-10 09:36:43 +03:00