#Build.zig getting an unknown error

1 messages · Page 1 of 1 (latest)

idle robin
#

what's on line 7 of your build.zig?

verbal blaze
# idle robin what's on line 7 of your build.zig?

I put the wrong error sorry:

exe.root_module.addImport("discord.zig", dzig.module("discord.zig"));
                                                                    ^
/root/DiscordZig/build.zig:11:1: note: use 'var' or 'const' to declare variable
exe.root_module.addImport("discord.zig", dzig.module("discord.zig"));
^~~```
#

This is the error i got

#

And the build.zig I gave is the whole file

idle robin
verbal blaze
#

Ok