Commit 2f2058e
fix(ci): fix Docker build COPY flattening and WASM wasm-opt failure
Docker: COPY crates/*/Cargo.toml crates/ flattens all Cargo.toml files
into crates/Cargo.toml (overwriting each other), causing cargo to fail
with "failed to load manifest for workspace member /code/crates/src".
Use COPY --parents with syntax=docker/dockerfile:1.7 to preserve the
subdirectory layout that the workspace crates/* glob expects.
WASM: wasm-opt bundled with wasm-pack cannot parse reference-types /
bulk-memory features from recent Rust toolchains ("Only 1 table
definition allowed in MVP"). Disable wasm-opt in wasm-test Cargo.toml.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 41e74e4 commit 2f2058e
File tree
2 files changed
+12
-1
lines changed- crates/terraphim_automata/wasm-test
- docker
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
101 | 106 | | |
102 | | - | |
| 107 | + | |
103 | 108 | | |
104 | 109 | | |
105 | 110 | | |
| |||
0 commit comments