boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

commit bf8dcd15f094656d643c07382501d47d925b8831
parent 449415dd6cf00410a4542f3db9582f163b7e7b59
Author: Ryan Sepassi <rsepassi@gmail.com>
Date:   Wed, 29 Apr 2026 11:04:01 -0700

cc-cg: fix up test to use proper symbol names for extern

Diffstat:
Mtests/cc-cg/58-fnptr-tab.scm | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/cc-cg/58-fnptr-tab.scm b/tests/cc-cg/58-fnptr-tab.scm @@ -26,8 +26,8 @@ ;; tab[2] = { &f1, &f2 } — two label-ref pieces. (let* ((aty (%ctype 'arr 16 8 (cons fnptr 2))) (tab (%sym "tab" 'var 'static aty #f))) - (cg-emit-global cg tab (list (cons 'label-ref "cc__f1") - (cons 'label-ref "cc__f2"))) + (cg-emit-global cg tab (list (cons 'label-ref "f1") + (cons 'label-ref "f2"))) ;; int main(void) { return tab[0]() + tab[1]() * 10; } (cg-fn-begin cg "main" '() %t-i32) (let ((pp (%ctype 'ptr 8 8 fnptr)) ; ptr to fnptr = pointee size 8