Merge pull request #1152 from artix-boi/master
Fix to make zls compile for 0.11.0-dev.2775+21aa55d34.
This commit is contained in:
		
						commit
						7b79a99f6d
					
				| @ -357,7 +357,7 @@ const stack_frames = switch (zig_builtin.mode) { | ||||
| 
 | ||||
| pub fn main() !void { | ||||
|     var gpa_state = std.heap.GeneralPurposeAllocator(.{ .stack_trace_frames = stack_frames }){}; | ||||
|     defer std.debug.assert(!gpa_state.deinit()); | ||||
|     defer std.debug.assert(gpa_state.deinit() == .ok); | ||||
| 
 | ||||
|     var tracy_state = if (tracy.enable_allocation) tracy.tracyAllocator(gpa_state.allocator()) else void{}; | ||||
|     const inner_allocator: std.mem.Allocator = if (tracy.enable_allocation) tracy_state.allocator() else gpa_state.allocator(); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user