| ... | @@ -306,12 +306,6 @@ const TestContext = struct { | ... | @@ -306,12 +306,6 @@ const TestContext = struct { |
| 306 | }; | 306 | }; |
| 307 | | 307 | |
| 308 | test "std.Mutex" { | 308 | test "std.Mutex" { |
| 309 | var plenty_of_memory = try std.heap.page_allocator.alloc(u8, 300 * 1024); | | |
| 310 | defer std.heap.page_allocator.free(plenty_of_memory); | | |
| 311 | | | |
| 312 | var fixed_buffer_allocator = std.heap.ThreadSafeFixedBufferAllocator.init(plenty_of_memory); | | |
| 313 | var a = &fixed_buffer_allocator.allocator; | | |
| 314 | | | |
| 315 | var mutex = Mutex.init(); | 309 | var mutex = Mutex.init(); |
| 316 | defer mutex.deinit(); | 310 | defer mutex.deinit(); |
| 317 | | 311 | |