diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-01-29 14:16:25 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-02-06 14:23:23 -0800 |
| commit | 284de7d957037c8a7032bd6e2a95bd5f55b73666 (patch) | |
| tree | 852d4ef1e8fd8c052485fd38d0dcdfafd28594bb /lib/std/Build/Fuzz/WebServer.zig | |
| parent | 439667be0476f5bf60f3efbb82a3c4d5aae96ee4 (diff) | |
| download | zig-284de7d957037c8a7032bd6e2a95bd5f55b73666.tar.gz zig-284de7d957037c8a7032bd6e2a95bd5f55b73666.zip | |
adjust runtime page size APIs
* fix merge conflicts
* rename the declarations
* reword documentation
* extract FixedBufferAllocator to separate file
* take advantage of locals
* remove the assertion about max alignment in Allocator API, leaving it
Allocator implementation defined
* fix non-inline function call in start logic
The GeneralPurposeAllocator implementation is totally broken because it
uses global state but I didn't address that in this commit.
Diffstat (limited to 'lib/std/Build/Fuzz/WebServer.zig')
| -rw-r--r-- | lib/std/Build/Fuzz/WebServer.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/Fuzz/WebServer.zig b/lib/std/Build/Fuzz/WebServer.zig index 0563d6782a..87cd7a1a1d 100644 --- a/lib/std/Build/Fuzz/WebServer.zig +++ b/lib/std/Build/Fuzz/WebServer.zig @@ -41,7 +41,7 @@ const fuzzer_arch_os_abi = "wasm32-freestanding"; const fuzzer_cpu_features = "baseline+atomics+bulk_memory+multivalue+mutable_globals+nontrapping_fptoint+reference_types+sign_ext"; const CoverageMap = struct { - mapped_memory: []align(std.heap.min_page_size) const u8, + mapped_memory: []align(std.heap.page_size_min) const u8, coverage: Coverage, source_locations: []Coverage.SourceLocation, /// Elements are indexes into `source_locations` pointing to the unit tests that are being fuzz tested. |
