Add Freestanding OS Types (#2399)

* Add Freestanding OS Types to `env::`
This commit is contained in:
Zack Puhl
2025-08-16 13:47:03 -04:00
committed by GitHub
parent 261184b5c1
commit ad02fad167
6 changed files with 12 additions and 6 deletions

View File

@@ -511,7 +511,7 @@ macro Allocator temp() @deprecated("Use 'tmem' instead")
alias tmem @builtin = current_temp;
fn void allow_implicit_temp_allocator_on_load_thread() @init(1) @local @if(env::LIBC || env::WASM_NOLIBC)
fn void allow_implicit_temp_allocator_on_load_thread() @init(1) @local @if(env::LIBC || env::FREESTANDING_WASM)
{
auto_create_temp = true;
}