1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: panic with error message when go command fails (#10943)

This commit is contained in:
Uwe Krüger
2021-07-25 00:13:34 +02:00
committed by GitHub
parent a09324faa9
commit 55c5b9ce7b
7 changed files with 70 additions and 2 deletions

View File

@ -134,3 +134,11 @@ fn break_if_debugger_attached() {
_ = ptr
}
}
// These functions are Windows specific - provide dummys for *nix
pub fn winapi_lasterr_str() string {
return ''
}
[noreturn]
pub fn panic_lasterr() {}