wasi: make the demo run on wasi and run it in CI

This commit is contained in:
Laytan Laats
2024-06-29 23:15:31 +02:00
parent 476d0087c8
commit 604551eb2d
12 changed files with 129 additions and 54 deletions
+5
View File
@@ -22,6 +22,11 @@ when !ODIN_TEST && !ODIN_NO_ENTRY_POINT {
@(link_name="_start", linkage="strong", require, export)
_start :: proc "c" () {
context = default_context()
when ODIN_OS == .WASI {
_wasi_setup_args()
}
#force_no_inline _startup_runtime()
intrinsics.__entry_point()
}