| ... | ... | @@ -9905,7 +9905,10 @@ const std = @import("std"); |
| 9905 | 9905 | const PreopenList = std.fs.wasi.PreopenList; |
| 9906 | 9906 | |
| 9907 | 9907 | pub fn main() !void { |
| 9908 | | var preopens = PreopenList.init(std.heap.page_allocator); |
| 9908 | var general_purpose_allocator = std.heap.GeneralPurposeAllocator(.{}){}; |
| 9909 | const gpa = &general_purpose_allocator.allocator; |
| 9910 | |
| 9911 | var preopens = PreopenList.init(gpa); |
| 9909 | 9912 | defer preopens.deinit(); |
| 9910 | 9913 | |
| 9911 | 9914 | try preopens.populate(); |