mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: re-enable testing of ./v -freestanding run vlib/os/bare/bare_example_linux.v on ubuntu
This commit is contained in:
@@ -236,7 +236,7 @@ fn sys_read(fd i64, buf &byte, count u64) (i64, Errno) {
|
||||
}
|
||||
|
||||
// 1 sys_write
|
||||
fn sys_write(fd i64, buf &byte, count u64) (i64, Errno) {
|
||||
pub fn sys_write(fd i64, buf &byte, count u64) (i64, Errno) {
|
||||
return split_int_errno(sys_call3(1, u64(fd), u64(buf), count))
|
||||
}
|
||||
|
||||
|
||||
@@ -4,4 +4,5 @@ fn main() {
|
||||
sys_write(1, s.str, u64(s.len))
|
||||
a := s[0]
|
||||
println('Hello freestanding!')
|
||||
println(a)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user