5ede46f003
* support new module cli arguments * capture the runtime zig version and store it on `Server` * update build_runner action * Use correct version for selecting arguments
14 lines
297 B
Zig
14 lines
297 B
Zig
const std = @import("std");
|
|
const Self = @This();
|
|
|
|
// This is necessary as `std.SemanticVersion` keeps pointers into the parsed string
|
|
|
|
version: std.SemanticVersion,
|
|
|
|
allocator: std.mem.Allocator,
|
|
raw_string: []const u8,
|
|
|
|
pub fn free(self: Self) void {
|
|
self.allocator.free(self.raw_string);
|
|
}
|