mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
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
This commit is contained in:
parent
0d00eb712c
commit
21da729354
1 changed files with 3 additions and 0 deletions
|
@ -1010,6 +1010,9 @@ fn (mut c Amd64) extern_call(addr i32) {
|
||||||
c.g.write32(addr)
|
c.g.write32(addr)
|
||||||
c.g.println('call QWORD [rip + 0xffffffff${int(addr).hex()}]')
|
c.g.println('call QWORD [rip + 0xffffffff${int(addr).hex()}]')
|
||||||
}
|
}
|
||||||
|
.macos {
|
||||||
|
eprintln('## TODO, macos, extern_call, addr: ${addr}')
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
c.g.n_error('${@LOCATION} extern calls not implemented for ${c.g.pref.os}')
|
c.g.n_error('${@LOCATION} extern calls not implemented for ${c.g.pref.os}')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue