bitcode split

This commit is contained in:
David Gonzalez Martin 2024-05-11 11:50:03 -06:00
parent 1f945a8877
commit aade460a50
3 changed files with 719 additions and 385 deletions

File diff suppressed because it is too large Load Diff

View File

@ -253,7 +253,7 @@ pub fn PinnedArrayAdvanced(comptime T: type, comptime MaybeIndex: ?type, comptim
return ptr;
}
pub fn add_one(array: *Array) *T{
pub fn add_one(array: *Array) *T {
array.ensure_capacity(1);
return array.add_one_with_capacity();
}
@ -784,7 +784,6 @@ pub fn read_file(arena: *Arena, directory: std.fs.Dir, file_relative_path: []con
return file_buffer[0..read_byte_count];
}
pub fn self_exe_path(arena: *Arena) ![]const u8 {
var buffer: [std.fs.MAX_PATH_BYTES]u8 = undefined;
return try arena.duplicate_bytes(try std.fs.selfExePath(&buffer));

View File

@ -76,5 +76,3 @@ pub fn main() !void {
pub const std_options = std.Options{
.enable_segfault_handler = false,
};