diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2023-04-25 01:08:35 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2023-04-25 13:42:10 -0400 |
| commit | a1fcb516928d1ba1106ea715acd1f6feba95e977 (patch) | |
| tree | 6449fdb37a56b6ceda045b91babffa41bc6f0bd2 /src/Compilation.zig | |
| parent | f1782c07a9c1c66da843e6c7f345e9f004bc3b45 (diff) | |
| download | zig-a1fcb516928d1ba1106ea715acd1f6feba95e977.tar.gz zig-a1fcb516928d1ba1106ea715acd1f6feba95e977.zip | |
cbe: fix mutability issues with builtin test_functions
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
