Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to zig master 0.10.0 and gyro v0.7.0 #21

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

voigt
Copy link

@voigt voigt commented Jun 16, 2022

This is the result of issue #20 - Make this repo build again

The goal of this PR is to

  • Make this repo build with the latest version of zig (master)
  • update dependency management via gyro to 0.7.0
  • decouple CI commands, so they can be used better for local testing
  • add a daily schedule to run tests every day (on nightly master)

Unfortunately, I struggled to make windows work as described here.

Test Linux MacOS Windows
simple
gcd
linking
memory
interrupt

@voigt
Copy link
Author

voigt commented Jun 18, 2022

Any help fixing the windows build highly appreciated :)

@Luukdegram
Copy link
Collaborator

Apologies for the very late response, but we're currently working hard to get Zig 0.10.0 ready for release.
The error in the CI for Windows unfortunately only points to the build runner. To get the full stack trace of the error, you'd have to run the actual executable. Once I have some extra time, I'll try running it through Wine to see what goes wrong.

@voigt
Copy link
Author

voigt commented Jun 24, 2022

Thanks for the response.
Sure, take your time - if the outcome is zig v0.10.0, I'm happy to wait :D

@voigt
Copy link
Author

voigt commented Aug 18, 2022

With zig master(0.10.0-dev.3602+df507edff) macos now fails with

+ gyro build run -Dexample=simple --search-prefix /Users/runner/work/wasmtime-zig/wasmtime-zig/wasmtime-v0.24.0-x86_64-macos-c-api
dyld: Library not loaded: @rpath/libwasmtime.dylib
  Referenced from: /Users/runner/work/wasmtime-zig/wasmtime-zig/zig-cache/o/8a1a1ed3f58575748954ee0b1aaff77f/simple
  Reason: image not found
The following command terminated unexpectedly:
cd . && /Users/runner/work/wasmtime-zig/wasmtime-zig/zig-cache/o/8a1a1ed3f585757489[54](https://github.com/voigt/wasmtime-zig/runs/7907035715?check_suite_focus=true#step:5:55)ee0b1aaff77f/simple 
The following command exited with error code 1 (expected 0):
cd . && /Users/runner/work/wasmtime-zig/wasmtime-zig/zig-cache/o/503416f6b9e14430bf725d3fe5f0aad8/build /Users/runner/work/wasmtime-zig/wasmtime-zig/zig-macos-x86_64-0.10.0-dev.3604+4f2143bec/zig . zig-cache /Users/runner/.cache/zig run -Dexample=simple --search-prefix /Users/runner/work/wasmtime-zig/wasmtime-zig/wasmtime-v0.24.0-x86_64-macos-c-api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants