Commit c3edb61
committed
fix: remove duplicate target specification causing rustc conflicts
Fix "Option 'target' given more than once" error by:
1. Remove manual --target specification from rustc_flags in
rust_wasm_component.bzl. Rules_rust handles target selection
automatically based on configured target triples in MODULE.bazel.
2. Remove problematic aliases in wasm_toolchain.bzl that were causing
dependency cycles. Use *_binary targets directly instead.
The duplicate target specification was conflicting with clippy
configuration, causing CI build failures. Let rules_rust handle
cross-compilation to WASM targets properly through the platform
selection mechanism.1 parent c01818b commit c3edb61
File tree
4 files changed
+16
-22
lines changed- .claude
- rust
- toolchains
4 files changed
+16
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | | - | |
| 168 | + | |
171 | 169 | | |
172 | 170 | | |
173 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
| 266 | + | |
| 267 | + | |
284 | 268 | | |
285 | 269 | | |
286 | 270 | | |
| |||
0 commit comments