| author | |
| committer | |
| log | c1fb97aef6d0f7343e9226b2f19fbe9d315afa94 |
| tree | 16c6893b052dcc707c4db93480442340dec458a4 |
| parent | 184128fd9e5bfcf9b9a1c1021cf1d8db03147c28 |
1 files changed, 0 insertions(+), 6 deletions(-)
lib/std/mutex.zig-6| ... | ... | @@ -306,12 +306,6 @@ const TestContext = struct { |
| 306 | 306 | }; |
| 307 | 307 | |
| 308 | 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 | 309 | var mutex = Mutex.init(); |
| 316 | 310 | defer mutex.deinit(); |
| 317 | 311 |