From 21da729354e1b28d1374ff6385bb4b28110c7cdd Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 30 May 2025 18:43:50 +0300 Subject: [PATCH] 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` --- vlib/v/gen/native/amd64.v | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vlib/v/gen/native/amd64.v b/vlib/v/gen/native/amd64.v index 97a9fe57a0..614636aee7 100644 --- a/vlib/v/gen/native/amd64.v +++ b/vlib/v/gen/native/amd64.v @@ -1010,6 +1010,9 @@ fn (mut c Amd64) extern_call(addr i32) { c.g.write32(addr) c.g.println('call QWORD [rip + 0xffffffff${int(addr).hex()}]') } + .macos { + eprintln('## TODO, macos, extern_call, addr: ${addr}') + } else { c.g.n_error('${@LOCATION} extern calls not implemented for ${c.g.pref.os}') }