refactor(ffi-linkage): Phase 6.3 — migrate std/ #foreign→extern
Pure source rename across 11 std modules (~60 sites): cli/core/fmt/fs/log/ net/kqueue/process/socket/thread/time/trace. All fn-decl markers — bare '#foreign;', '#foreign libc;'/'#foreign tlib;' (LIB ref), and '#foreign libc "csym";' (LIB+rename) → the same 'extern …' tail (extern carries the identical [LIB] ["csym"] axis). Plus 2 stale comment mentions (fmt/fs). No class forms in std. These modules ARE host-corpus-exercised, so the empty snapshot diff is direct validation. Suite green (647 corpus / 444 unit, 0 failed).
This commit is contained in:
@@ -41,8 +41,8 @@ libc :: #library "c";
|
||||
// `char**` / `int` the process was launched with. Declared as `*i64` /
|
||||
// `*i32` since on 64-bit a `char***` is just a pointer to a pointer-sized
|
||||
// slot.
|
||||
ns_get_argv :: () -> *i64 #foreign libc "_NSGetArgv";
|
||||
ns_get_argc :: () -> *i32 #foreign libc "_NSGetArgc";
|
||||
ns_get_argv :: () -> *i64 extern libc "_NSGetArgv";
|
||||
ns_get_argc :: () -> *i32 extern libc "_NSGetArgc";
|
||||
|
||||
// =====================================================================
|
||||
// EXIT-CODE & `--json` CONTRACT (F3.3) — the minimal surface `dist` (and
|
||||
|
||||
Reference in New Issue
Block a user