Commit fbad7a2
Rules WASM Component
fix: resolve Starlark compatibility and update dependencies
Fix build failures on Ubuntu CI and update deprecated configurations.
Starlark compatibility:
- Replace Python's next(iter()) with Starlark-compatible iteration
- Use explicit loop to get first dict key instead of built-ins
- Ensure compatibility with Bazel's Starlark implementation
Dependency updates:
- Update bazel_skylib from 1.5.0 to 1.7.1
- Update platforms from 0.0.8 to 0.0.10
- Update stardoc from 0.6.2 to 0.7.1
- Resolve version mismatch warnings in CI
Configuration fixes:
- Replace deprecated --local_ram_resources with --local_resources=memory=
- Replace deprecated --local_cpu_resources with --local_resources=cpu=
- Update .bazelrc to use modern Bazel resource flags
These changes ensure the rules work correctly across different platforms
and Bazel versions while maintaining backward compatibility.1 parent b4b3ad0 commit fbad7a2
3 files changed
+12
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
160 | 165 | | |
161 | 166 | | |
162 | 167 | | |
| |||
0 commit comments