Skip to content

Commit

Permalink
Replaced exe.addModule with exe.root_module.addImport
Browse files Browse the repository at this point in the history
  • Loading branch information
xvzls committed Apr 23, 2024
1 parent 2593d54 commit 80609bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ zBench is a simple benchmarking library for the Zig programming language. It is
.target = target,
.optimize = optimize,
});
+ exe.addModule("zbench", zbench_module);
+ exe.root_module.addImport("zbench", zbench_module);
exe.install();

...
Expand Down

0 comments on commit 80609bb

Please sign in to comment.