Skip to content

Commit 21da729

Browse files
committed
native: fix the cross compilation step in v test-all, which does v -os macos -experimental -b native -o hw.macos examples/hello_world.v
1 parent 0d00eb7 commit 21da729

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vlib/v/gen/native/amd64.v

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,9 @@ fn (mut c Amd64) extern_call(addr i32) {
10101010
c.g.write32(addr)
10111011
c.g.println('call QWORD [rip + 0xffffffff${int(addr).hex()}]')
10121012
}
1013+
.macos {
1014+
eprintln('## TODO, macos, extern_call, addr: ${addr}')
1015+
}
10131016
else {
10141017
c.g.n_error('${@LOCATION} extern calls not implemented for ${c.g.pref.os}')
10151018
}

0 commit comments

Comments
 (0)