mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-09 21:11:36 -07:00
Keep -vet happy
This commit is contained in:
@@ -41,8 +41,8 @@ get_build_os_from_string :: proc(str: string) -> (found_os: runtime.Odin_OS_Type
|
||||
}
|
||||
}
|
||||
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) {
|
||||
found_subtarget = runtime.Odin_Platform_Subtarget_Type(subtarget.value)
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user