We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following happens with zzz 0.2.0 and zig 0.13.0:
➜ htmx_zzz zig build /Users/kenk/Documents/Code/Experiments/htmx_zzz/build.zig:44:20: error: member function expected 2 argument(s), found 1 exe.root_module.addImport(zzz); ~~~~~~~~~~~~~~~^~~~~~~~~~ /Users/kenk/.zvm/0.13.0/lib/std/Build/Module.zig:250:5: note: function declared here pub fn addImport(m: *Module, name: []const u8, module: *Module) void { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
Hello!
In general with addImport, you need to also specify a name for the module such as exe.root_module.addImport("zzz", zzz);
addImport
exe.root_module.addImport("zzz", zzz);
Sorry, something went wrong.
Hello! In general with addImport, you need to also specify a name for the module such as exe.root_module.addImport("zzz", zzz);
That name that you provide in the quotes ends up being the name that you are able to use to import the module in your Zig source files.
No branches or pull requests
The following happens with zzz 0.2.0 and zig 0.13.0:
The text was updated successfully, but these errors were encountered: