Add missing contextless

This commit is contained in:
gingerBill
2025-08-08 13:16:20 +01:00
parent 8ff15eaf69
commit 7c93a5ae80
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
}