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

@ -13,7 +13,7 @@ pub fn build(b: *Builder) void {
lib.install();
dawn.link(b, lib, .{});
var main_tests = b.addTest("src/main.zig");
const main_tests = b.addTest("src/main.zig");
main_tests.setBuildMode(mode);
const test_step = b.step("test", "Run library tests");