mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Merge branch 'master' into objc-intrinsics
This commit is contained in:
@@ -79,7 +79,7 @@ jobs:
|
|||||||
make
|
make
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
build_windows:
|
build_windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: build Odin
|
- name: build Odin
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_windows:
|
build_windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: build Odin
|
- name: build Odin
|
||||||
|
|||||||
@@ -227,11 +227,10 @@ glob :: proc(pattern: string, allocator := context.allocator) -> (matches: []str
|
|||||||
return m[:], .None
|
return m[:], .None
|
||||||
}
|
}
|
||||||
|
|
||||||
temp_buf: [8]byte
|
|
||||||
|
|
||||||
dir, file := split(pattern)
|
dir, file := split(pattern)
|
||||||
volume_len := 0
|
volume_len := 0
|
||||||
when ODIN_OS == "windows" {
|
when ODIN_OS == "windows" {
|
||||||
|
temp_buf: [8]byte
|
||||||
volume_len, dir = clean_glob_path_windows(dir, temp_buf[:])
|
volume_len, dir = clean_glob_path_windows(dir, temp_buf[:])
|
||||||
} else {
|
} else {
|
||||||
dir = clean_glob_path(dir)
|
dir = clean_glob_path(dir)
|
||||||
|
|||||||
Reference in New Issue
Block a user