Add missing contextless
This commit is contained in:
1 parent
8ff15eaf69
commit
7c93a5ae80
2 files changed
+2
-2
No files matched your search
@@ -81,7 +81,7 @@ init_cpu_features :: proc "contextless" () {
|
||||
}
|
||||
err := linux.riscv_hwprobe(raw_data(pairs), len(pairs), 0, nil, {})
|
||||
if err != nil {
|
||||
assert(err == .ENOSYS, "unexpected error from riscv_hwprobe()")
|
||||
assert_contextless(err == .ENOSYS, "unexpected error from riscv_hwprobe()")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user