-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
wasmtime: 0.21.0 -> 0.35.2 #166965
wasmtime: 0.21.0 -> 0.35.2 #166965
Conversation
/cc @happysalada |
5334665
to
a1c8fd9
Compare
a1c8fd9
to
23fcf77
Compare
Just tested and this won't build for darwin. (The ci shows the failure if you are interested, but I'm afraid those are quite cryptic)
Could you change the platform to only linux ? Also the ci fails on linux with the following
Could you mark those tests to be skipped ?
(I just copied and pasted the relevant part from another test to give you an example in case you hadn't seen it. (more can be found in pkgs/tools/misc/vector/default.nix oh and last but not least, thanks a lot for the PR! |
3b2f2da
to
4ba2133
Compare
Done, although I will check what's wrong, I'd like to have the derivation for Mac OS as well. I would not block this PR because of that though.
Done, and I have done the same with the patch that I had removing a test, and removed the patch that was removing the test itself. Thanks for the pointers! 🙌
I cannot reproduce this and I wonder why. Do you know how can I reproduce this locally, or get more information from the CI run? I would like to go further into this.
:) |
aa34c11
to
a776bea
Compare
Provide a specific path for the v8 project, so `wasmtime` dependency `rusty_v8` can find it and does not need to download the static library, what would break build hermetism.
a776bea
to
78fb28c
Compare
Ci passes, thank you! I think the ci is running in strict eval or something. I have to say, I forgot the exact difference. If you ever get to the darwin issue, feel free to ping me, happy to test. Thanks again! |
oh small detail regarding the first commit. It should probably be |
Oh, did we just lose wasmtime on Darwin? That's be very unfortunate. I hope it's only temporary. (Pinging @ggreif) |
I want to check why it's failing and my plan is to restore it as soon as possible. It was also nice to have a more recent version of wasmtime. |
Ok, thanks :-) |
@nomeata I will keep looking into it. WIP: master...ereslibre:wasmtime-build-darwin The error, in case is meaningful:
|
@ereslibre bytecodealliance/wasmtime#4022 is a PR which addresses those linker errors. |
Thank you @sunfishcode! I just did a smoke test (master...ereslibre:wasmtime-build-darwin) and it builds and runs correctly. I will submit a new PR to nixpkgs as soon a new wasmtime version is tagged. cc/ @nomeata |
wasmtime 0.36.0 was released. I opened #169544. It builds and links in darwin under aarch64, but fails to link under x86_64 (when running with rosetta). We can follow up over there. |
Description of changes
Supersedes #109571
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes