Skip to content

Commit

Permalink
wasmtime: 0.36.0 -> 0.37.0
Browse files Browse the repository at this point in the history
Re-enable darwin platform.
  • Loading branch information
ereslibre committed May 22, 2022
1 parent 9ab2d35 commit dc34b6e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkgs/development/interpreters/wasmtime/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{ rustPlatform, fetchFromGitHub, lib, v8 }:
{ rustPlatform, fetchFromGitHub, lib, stdenv, v8 }:

rustPlatform.buildRustPackage rec {
pname = "wasmtime";
version = "0.36.0";
version = "0.37.0";

src = fetchFromGitHub {
owner = "bytecodealliance";
repo = pname;
rev = "v${version}";
sha256 = "sha256-nSA78eQRbJ5JTDquaRqRgFU0V8RVCzvWUONgHxGj+Mc=";
sha256 = "sha256-ZUr1v94If8ER4lTHLwuP+F3xfXU7IW4ZEztBA2TPvVg=";
fetchSubmodules = true;
};

cargoSha256 = "sha256-/+uioJRXiugsV7SUwsDNHGaPxrxrhscQUGyXOzzwG/g=";
cargoSha256 = "sha256-X+KDeWavFTBaxbSPlIiyuiBC7wg1/5C/NXp+VEY8Mk8=";

# This environment variable is required so that when wasmtime tries
# to run tests by using the rusty_v8 crate, it does not try to
# download a static v8 build from the Internet, what would break
# build hermetism.
RUSTY_V8_ARCHIVE = "${v8}/lib/libv8.a";
RUSTY_V8_ARCHIVE = lib.optionalString stdenv.isLinux "${v8}/lib/libv8.a";

doCheck = true;
checkFlags = [
Expand All @@ -36,6 +36,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/bytecodealliance/wasmtime";
license = licenses.asl20;
maintainers = [ maintainers.matthewbauer ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

0 comments on commit dc34b6e

Please sign in to comment.