fix: update code to compile with 0.12.0-dev.2075+f5978181e

This commit is contained in:
Tristan Partin
2024-01-08 20:05:29 -06:00
parent cfdf6cf312
commit d2813655e5
2 changed files with 2 additions and 2 deletions

View File

@@ -159,7 +159,7 @@ fn entryForMode(comptime mode: Mode) ModeEntry {
/// A single entry of a possible mode we support. This is used to
/// dynamically define the enum and other tables.
const ModeEntry = struct {
name: []const u8,
name: [:0]const u8,
value: comptime_int,
default: bool = false,