Skip to content

Commit bd46725

Browse files
author
Pablo Alessandro Santos Hugen
committed
Chore: Fix removed std.Build APIs
1 parent b282c8f commit bd46725

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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)