mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix failing Freestanding task
This commit is contained in:
@ -135,6 +135,11 @@ fn bare_eprint(buf &byte, len u64) {
|
|||||||
sys_write(2, buf, len)
|
sys_write(2, buf, len)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn write(fd i64, buf &byte, count u64) i64 {
|
||||||
|
x, _ := sys_write(fd, buf, count)
|
||||||
|
return x
|
||||||
|
}
|
||||||
|
|
||||||
fn bare_panic(msg string) {
|
fn bare_panic(msg string) {
|
||||||
println('V panic' + msg)
|
println('V panic' + msg)
|
||||||
exit(1)
|
exit(1)
|
||||||
|
Reference in New Issue
Block a user