constify unmutated variables in build files

This commit is contained in:
InKryption 2021-11-22 14:02:34 +01:00 committed by Stephen Gutekanst
parent d9e2505b59
commit aae3ea8577
3 changed files with 11 additions and 11 deletions

View file

@ -12,7 +12,7 @@ pub fn build(b: *Builder) void {
glfw.link(b, lib, .{});
lib.install();
var main_tests = b.addTest("src/main.zig");
const main_tests = b.addTest("src/main.zig");
main_tests.setBuildMode(mode);
main_tests.setTarget(target);
main_tests.addPackagePath("glfw", "glfw/src/main.zig");