From a1fcb516928d1ba1106ea715acd1f6feba95e977 Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Tue, 25 Apr 2023 01:08:35 -0400 Subject: cbe: fix mutability issues with builtin test_functions --- src/Compilation.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compilation.zig') diff --git a/src/Compilation.zig b/src/Compilation.zig index 00b691f780..f11f158e1b 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -5265,7 +5265,7 @@ pub fn generateBuiltinZigSource(comp: *Compilation, allocator: Allocator) Alloca if (comp.bin_file.options.is_test) { try buffer.appendSlice( - \\pub var test_functions: []std.builtin.TestFn = undefined; // overwritten later + \\pub var test_functions: []const std.builtin.TestFn = undefined; // overwritten later \\ ); if (comp.test_evented_io) { -- cgit v1.2.3