|
@@ -41,8 +41,8 @@ get_build_os_from_string :: proc(str: string) -> (found_os: runtime.Odin_OS_Type
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if str_subtarget != "" {
|
|
if str_subtarget != "" {
|
|
- fields := reflect.enum_fields_zipped(runtime.Odin_Platform_Subtarget_Type)
|
|
|
|
- for subtarget in fields {
|
|
|
|
|
|
+ st_fields := reflect.enum_fields_zipped(runtime.Odin_Platform_Subtarget_Type)
|
|
|
|
+ for subtarget in st_fields {
|
|
if strings.equal_fold(subtarget.name, str_subtarget) {
|
|
if strings.equal_fold(subtarget.name, str_subtarget) {
|
|
found_subtarget = runtime.Odin_Platform_Subtarget_Type(subtarget.value)
|
|
found_subtarget = runtime.Odin_Platform_Subtarget_Type(subtarget.value)
|
|
break
|
|
break
|