| ... | @@ -815,7 +815,7 @@ test "ThreadSafeFixedBufferAllocator" { | ... | @@ -815,7 +815,7 @@ test "ThreadSafeFixedBufferAllocator" { |
| 815 | try testAllocatorAlignedShrink(&fixed_buffer_allocator.allocator); | 815 | try testAllocatorAlignedShrink(&fixed_buffer_allocator.allocator); |
| 816 | } | 816 | } |
| 817 | | 817 | |
| 818 | fn testAllocator(base_allocator: *mem.Allocator) !void { | 818 | pub fn testAllocator(base_allocator: *mem.Allocator) !void { |
| 819 | var validationAllocator = mem.validationWrap(base_allocator); | 819 | var validationAllocator = mem.validationWrap(base_allocator); |
| 820 | const allocator = &validationAllocator.allocator; | 820 | const allocator = &validationAllocator.allocator; |
| 821 | | 821 | |
| ... | @@ -846,7 +846,7 @@ fn testAllocator(base_allocator: *mem.Allocator) !void { | ... | @@ -846,7 +846,7 @@ fn testAllocator(base_allocator: *mem.Allocator) !void { |
| 846 | allocator.free(slice); | 846 | allocator.free(slice); |
| 847 | } | 847 | } |
| 848 | | 848 | |
| 849 | fn testAllocatorAligned(base_allocator: *mem.Allocator, comptime alignment: u29) !void { | 849 | pub fn testAllocatorAligned(base_allocator: *mem.Allocator, comptime alignment: u29) !void { |
| 850 | var validationAllocator = mem.validationWrap(base_allocator); | 850 | var validationAllocator = mem.validationWrap(base_allocator); |
| 851 | const allocator = &validationAllocator.allocator; | 851 | const allocator = &validationAllocator.allocator; |
| 852 | | 852 | |
| ... | @@ -873,7 +873,7 @@ fn testAllocatorAligned(base_allocator: *mem.Allocator, comptime alignment: u29) | ... | @@ -873,7 +873,7 @@ fn testAllocatorAligned(base_allocator: *mem.Allocator, comptime alignment: u29) |
| 873 | testing.expect(slice.len == 0); | 873 | testing.expect(slice.len == 0); |
| 874 | } | 874 | } |
| 875 | | 875 | |
| 876 | fn testAllocatorLargeAlignment(base_allocator: *mem.Allocator) mem.Allocator.Error!void { | 876 | pub fn testAllocatorLargeAlignment(base_allocator: *mem.Allocator) mem.Allocator.Error!void { |
| 877 | var validationAllocator = mem.validationWrap(base_allocator); | 877 | var validationAllocator = mem.validationWrap(base_allocator); |
| 878 | const allocator = &validationAllocator.allocator; | 878 | const allocator = &validationAllocator.allocator; |
| 879 | | 879 | |
| ... | @@ -905,7 +905,7 @@ fn testAllocatorLargeAlignment(base_allocator: *mem.Allocator) mem.Allocator.Err | ... | @@ -905,7 +905,7 @@ fn testAllocatorLargeAlignment(base_allocator: *mem.Allocator) mem.Allocator.Err |
| 905 | allocator.free(slice); | 905 | allocator.free(slice); |
| 906 | } | 906 | } |
| 907 | | 907 | |
| 908 | fn testAllocatorAlignedShrink(base_allocator: *mem.Allocator) mem.Allocator.Error!void { | 908 | pub fn testAllocatorAlignedShrink(base_allocator: *mem.Allocator) mem.Allocator.Error!void { |
| 909 | var validationAllocator = mem.validationWrap(base_allocator); | 909 | var validationAllocator = mem.validationWrap(base_allocator); |
| 910 | const allocator = &validationAllocator.allocator; | 910 | const allocator = &validationAllocator.allocator; |
| 911 | | 911 | |