mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-03 17:24:39 +00:00
Add Odin_OS_Type and Odin_Arch_Type to core:runtime
This commit is contained in:
@@ -386,6 +386,35 @@ Raw_Cstring :: struct {
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
// Defined internally by the compiler
|
||||
Odin_OS_Type :: enum int {
|
||||
Unknown,
|
||||
Windows,
|
||||
Darwin,
|
||||
Linux,
|
||||
Essence,
|
||||
FreeBSD,
|
||||
WASI,
|
||||
JS,
|
||||
Freestanding,
|
||||
}
|
||||
*/
|
||||
Odin_OS_Type :: type_of(ODIN_OS)
|
||||
|
||||
/*
|
||||
// Defined internally by the compiler
|
||||
Odin_Arch_Type :: enum int {
|
||||
Unknown,
|
||||
amd64,
|
||||
i386,
|
||||
arm64,
|
||||
wasm32,
|
||||
wasm64,
|
||||
}
|
||||
*/
|
||||
Odin_Arch_Type :: type_of(ODIN_ARCH)
|
||||
|
||||
/*
|
||||
// Defined internally by the compiler
|
||||
Odin_Build_Mode_Type :: enum int {
|
||||
|
||||
Reference in New Issue
Block a user