diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-02-12 02:27:02 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-02-12 02:44:31 -0500 |
| commit | 4a4ea92cf38372dc63184957e2936fa7989743fb (patch) | |
| tree | 94866dbdde8065d23016ed23f2dc09af18ed85da /std/debug/index.zig | |
| parent | 445b03384a5ffcace11927aa9dd5f21604527f5c (diff) | |
| download | zig-4a4ea92cf38372dc63184957e2936fa7989743fb.tar.gz zig-4a4ea92cf38372dc63184957e2936fa7989743fb.zip | |
remove std.heap.IncrementingAllocator
Use std.heap.FixedBufferAllocator combined with
std.heap.DirectAllocator instead.
std.mem.FixedBufferAllocator is moved to std.heap.FixedBufferAllocator
Diffstat (limited to 'std/debug/index.zig')
| -rw-r--r-- | std/debug/index.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/debug/index.zig b/std/debug/index.zig index 5426a197f2..df1a1c5041 100644 --- a/std/debug/index.zig +++ b/std/debug/index.zig @@ -1078,5 +1078,5 @@ fn readILeb128(in_stream: var) !i64 { } pub const global_allocator = &global_fixed_allocator.allocator; -var global_fixed_allocator = mem.FixedBufferAllocator.init(global_allocator_mem[0..]); +var global_fixed_allocator = std.heap.FixedBufferAllocator.init(global_allocator_mem[0..]); var global_allocator_mem: [100 * 1024]u8 = undefined; |
