Commit 015e945
Rules WASM Component
fix: use valid WASM target triples for rules_rust compatibility
Remove invalid target triples that are not supported by rules_rust
and update to use standard WASM targets.
Changes:
- Remove wasm32-wasip1 and wasm32-wasip2 (not valid rules_rust targets)
- Use wasm32-wasi (WASI Preview 1, supported by rules_rust)
- Keep wasm32-unknown-unknown (standard WASM target)
- Update WASM_TARGET_TRIPLE constant to use valid triple
- Update helper function to use supported targets
This resolves the rules_rust extension error about invalid target
triples and ensures compatibility with the current rules_rust version.1 parent f0d816b commit 015e945
2 files changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | | - | |
| 11 | + | |
13 | 12 | | |
14 | | - | |
| 13 | + | |
0 commit comments