Add missing contextless

This commit is contained in:
gingerBill committed 2025-08-08 13:16:20 +01:00
1 parent 8ff15eaf69
commit 7c93a5ae80
2 files changed
+2 -2

No files matched your search

+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
}