From 33cb2589afb9c94599b0166100ecca49616568f6 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sun, 22 Oct 2023 12:32:11 -0700 Subject: [PATCH] not sure why wasmtime is not working - disable foreign checks for now --- .gitea/workflows/build.yaml | 3 ++- build.zig | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index b4f6358..36d0557 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -25,7 +25,8 @@ jobs: - run: curl https://wasmtime.dev/install.sh -sSf | bash - run: zig build test - run: zig build test -Dtarget=arm-linux # we want to know we can build for 32 bit - - run: PATH=${HOME}/.wasmtime/bin:${PATH} zig build test -Dtarget=wasm32-wasi -fwasmtime # downstream needs this for CF workers + # - run: PATH=${HOME}/.wasmtime/bin:${PATH} zig build test -Dtarget=wasm32-wasi -fwasmtime # downstream needs this for CF workers + - run: zig build test -Dtarget=wasm32-wasi # downstream needs this for CF workers - name: Notify uses: https://git.lerch.org/lobo/action-notify-ntfy@v2 if: always() diff --git a/build.zig b/build.zig index 281712e..fdeeeb0 100644 --- a/build.zig +++ b/build.zig @@ -78,6 +78,7 @@ pub fn build(b: *std.Build) !void { }, }); var run_helper_tests = b.addRunArtifact(helper_tests); + run_helper_tests.skip_foreign_checks = true; // This creates a build step. It will be visible in the `zig build --help` menu, // and can be selected like this: `zig build test`