mirror of
https://github.com/ziglang/zig.git
synced 2025-12-12 01:03:13 +00:00
Rename include dir to match the convention: from `wasm32-wasi` to `wasm-wasi-musl` Add building stubs which will be used to build and cache WASI libc sysroot.
20 lines
440 B
C
Vendored
20 lines
440 B
C
Vendored
#ifndef __wasi_libc_environ_h
|
|
#define __wasi_libc_environ_h
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/// Initialize the global environment variable state. Only needs to be
|
|
/// called once; most users should call `__wasilibc_ensure_environ` instead.
|
|
void __wasilibc_initialize_environ(void);
|
|
|
|
/// If `__wasilibc_initialize_environ` has not yet been called, call it.
|
|
void __wasilibc_ensure_environ(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|