Keep the apps test fakes on every call with the new Ziran

Ziran now copies small public procedures into module headers, so the
ld --wrap fake for PackageRevisionFor missed every call and the node
reload and cached reload revision checks failed. The test builds with
ZIRAN_NO_HEADER_INLINE from the bumped toolchain.
This commit is contained in:
waozi committed 2026-11-07 11:59:13 -03:00
1 parent a8f9bfaa7f
commit 3b182f7ce1
3 files changed
+5 -4

No files matched your search

+2 -1
View File
@@ -60,7 +60,8 @@ cp "$bundles/apps/habits.zx" "$bundles/apps/practices.zx" "$work/invalid-nested/
--module-path "$root/build/packages/kryon/src/backend" --module-path "$root/build/packages/game2d/src" \
--module-path "$root/build/packages/ziran/std" --module-path "$root/build/packages/daochi-client" \
-o "$work/generated" "$root/tests/apps_behavior.zi" "$root/tests/sync_test_host.zi"
"${CC:-cc}" -D_GNU_SOURCE -std=c11 -O0 -ffunction-sections -fdata-sections \
# The --wrap fakes below must see every call, not header inline copies.
"${CC:-cc}" -D_GNU_SOURCE -DZIRAN_NO_HEADER_INLINE -std=c11 -O0 -ffunction-sections -fdata-sections \
-I"$root/build/packages/ziran/include" -iquote "$work/generated" -iquote "$work/generated/apps" \
-I"$root/build/packages/monocypher/src" -I"$root/build/packages/monocypher/src/optional" \
-I"$root/vendor-builds/sqlite" -I"$root/vendor-builds/linux/x86_64/inbe-liboqs/include" \
+2 -2
View File
@@ -328,8 +328,8 @@
"name": "Inbe"
},
"toolchain": {
"commit": "38710d1fd95b9b0e5253df57820f1c5fafe37295",
"ref": "38710d1fd95b9b0e5253df57820f1c5fafe37295",
"commit": "0e91eb43bd665f02db86eb9b9cdd875b5436a066",
"ref": "0e91eb43bd665f02db86eb9b9cdd875b5436a066",
"url": "https://github.com/ziranlang/ziran.git"
}
}
+1 -1
View File
@@ -5,7 +5,7 @@ module_roots = ["src", "src/apps", "src/app", "src/core", "src/habits", "src/pra
[toolchain]
git = "https://github.com/ziranlang/ziran.git"
ref = "38710d1fd95b9b0e5253df57820f1c5fafe37295"
ref = "0e91eb43bd665f02db86eb9b9cdd875b5436a066"
[dependencies.kryon]
git = "https://github.com/kryonlabs/kryon.git"