Skip to content

Commit

Permalink
emscripten is handled by wasm32/64
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Philipp Hafer committed Aug 2, 2023
1 parent c211794 commit cbe9203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/os.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4342,7 +4342,7 @@ pub fn fork() ForkError!pid_t {
/// constant during process lifetime, but other page sizes might be usable.
pub fn getDefaultPageSize() error{UnknownPageSize}!usize {
switch (builtin.cpu.arch) { // archs with fixed size page size
.emscripten, .wasm32, .wasm64 => 64 * 1024,
.wasm32, .wasm64 => 64 * 1024,
else => {},
}

Expand Down

0 comments on commit cbe9203

Please sign in to comment.