On WASI without libc, this is void because the environment has to be
queried and heap-allocated at runtime.
On Windows, the memory pointed at by the PEB changes when the environment
is modified, so a long-lived pointer cannot be used. Therefore, on this
operating system void is also used.
pub const Block = switch (native_os)
pub const Block = switch (native_os) {
.windows => GlobalBlock,
.wasi, .emscripten => switch (builtin.link_libc) {
false => GlobalBlock,
true => PosixBlock,
},
.freestanding, .other => GlobalBlock,
else => PosixBlock,
}