Commit 1ea2644
committed
fix: correct WIT file reference in wac_remote_compose example
Fix analysis failure in wac_remote_compose caused by incorrect WIT
file reference. The wit attribute in rust_wasm_component_bindgen
should reference a wit_library target, not a direct file path.
Changes:
- Add proper wit_library target for frontend interfaces
- Update rust_wasm_component_bindgen to use wit_library reference
- Fix target name to match Rust binding expectations (frontend_bindings)
- Update local_components reference in wac_remote_compose
This resolves the build error: "source file is misplaced here (expected no files)"1 parent a243bbe commit 1ea2644
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
8 | 17 | | |
9 | 18 | | |
10 | | - | |
| 19 | + | |
11 | 20 | | |
12 | | - | |
| 21 | + | |
13 | 22 | | |
14 | 23 | | |
15 | 24 | | |
| |||
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
32 | | - | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
| |||
0 commit comments