We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54be41b commit af7cc28Copy full SHA for af7cc28
1 file changed
vlib/builtin/builtin_nix.c.v
@@ -21,8 +21,6 @@ fn break_if_debugger_attached() {
21
22
@[noreturn]
23
pub fn panic_lasterr(base string) {
24
- cerrno := C.errno
25
- se := unsafe { tos_clone(&u8(C.strerror(cerrno))) }
26
// TODO: use strerror_r and errno
27
- panic(base + se)
+ panic(base + ' unknown')
28
}
0 commit comments