Commit 0ea155b
committed
fix: apply WASM transition to rust_shared_library in component builds
- Add _wasm_rust_shared_library wrapper rule to properly apply wasm_transition
- Fix target triple mismatch where host components tried to link WASM bindings
- Remove legacy hermetic toolchain files and unused BUILD.* files
- Fix wit_deps_check.bzl stdout parameter issue
- Add comprehensive toolchain configuration documentation guide
Fixes component builds that were failing with target triple mismatches
between aarch64-apple-darwin (host) and wasm32-wasip2 (component bindings).1 parent d72c587 commit 0ea155b
File tree
13 files changed
+616
-3530
lines changed- docs-site/src/content/docs/guides
- rust
- toolchains
- bazel_tools_deps
- src
- wit
13 files changed
+616
-3530
lines changedLines changed: 580 additions & 0 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
9 | 35 | | |
10 | 36 | | |
11 | 37 | | |
| |||
174 | 200 | | |
175 | 201 | | |
176 | 202 | | |
| 203 | + | |
| 204 | + | |
177 | 205 | | |
178 | | - | |
| 206 | + | |
179 | 207 | | |
180 | 208 | | |
181 | 209 | | |
| |||
187 | 215 | | |
188 | 216 | | |
189 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
190 | 224 | | |
191 | 225 | | |
192 | 226 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments