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:
Delyan Angelov 2025-05-30 18:43:50 +03:00
parent 0d00eb712c
commit 21da729354
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -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}')
} }