From b8fb98dde7c865ebc3b854ab8d5a31f456031f8f Mon Sep 17 00:00:00 2001 From: Travers Biddle Date: Sat, 9 Nov 2024 21:58:25 +1300 Subject: [PATCH 1/2] test --- test_data/test_01/submodules/nasmproj/fallback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test_data/test_01/submodules/nasmproj/fallback.c b/test_data/test_01/submodules/nasmproj/fallback.c index 8a6172a..cbf796a 100644 --- a/test_data/test_01/submodules/nasmproj/fallback.c +++ b/test_data/test_01/submodules/nasmproj/fallback.c @@ -1,5 +1,6 @@ #include "nasmproj.h" int asm_add_two_numbers(int a, int b) { + printf("fallback add_two_numbers()\n"); return a + b; } From 2e248eecaff89decce9da291fef81c6a3430c6f7 Mon Sep 17 00:00:00 2001 From: Travers Biddle Date: Sat, 9 Nov 2024 22:05:58 +1300 Subject: [PATCH 2/2] tmp2 --- .github/workflows/ci.yaml | 2 ++ test_data/test_01/submodules/nasmproj/fallback.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 57884cb..7d6e850 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -70,6 +70,8 @@ jobs: - run: tree build_debug - run: cat build_debug/build.ninja - run: ninja -C build_debug -v myexe mytest + - run: nm build_debug/nasmproj/nasmobjs.dir/nasmsrc.asm.o + - run: nm build_debug/test_one/myexe - run: tree build_debug - run: ./build_debug/test_one/myexe abc def - run: ./build_debug/my_depend/mytest diff --git a/test_data/test_01/submodules/nasmproj/fallback.c b/test_data/test_01/submodules/nasmproj/fallback.c index cbf796a..8a6172a 100644 --- a/test_data/test_01/submodules/nasmproj/fallback.c +++ b/test_data/test_01/submodules/nasmproj/fallback.c @@ -1,6 +1,5 @@ #include "nasmproj.h" int asm_add_two_numbers(int a, int b) { - printf("fallback add_two_numbers()\n"); return a + b; }