mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Add Freestanding OS Types (#2399)
* Add Freestanding OS Types to `env::`
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user