Skip to content

Commit 114a133

Browse files
authored
Fix removed std.Build APIs (#2)
Fix removed std.Build APIs and bump .zigversion
1 parent b282c8f commit 114a133

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.zigversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.14.0-dev.1911+3bf89f55c
1+
0.14.0-dev.2563+af5e73172

build.zig

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,8 @@ pub fn emccStep(
153153

154154
emcc.addArtifactArg(wasm);
155155
{
156-
var it = wasm.root_module.iterateDependencies(wasm, false);
157-
while (it.next()) |item| {
158-
for (item.module.link_objects.items) |link_object| {
156+
for (wasm.root_module.import_table.values()) |module| {
157+
for (module.link_objects.items) |link_object| {
159158
switch (link_object) {
160159
.other_step => |compile_step| {
161160
switch (compile_step.kind) {

0 commit comments

Comments
 (0)