Skip to content

Commit

Permalink
Merge pull request #85602 from nomeata/joachim/bumpwasmtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed May 4, 2020
2 parents dd38a54 + 1189491 commit 0f52291
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/development/interpreters/wasmtime/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,26 @@

rustPlatform.buildRustPackage rec {
pname = "wasmtime";
version = "0.12.0";
version = "0.15.0";

src = fetchFromGitHub {
owner = "bytecodealliance";
repo = "${pname}";
rev = "v${version}";
sha256 = "08dhk5s8rv41mjqbwfqwqmp6p6p9y7qc5yc76ljjd9l7j1phl7mr";
sha256 = "1df99iak0psydlg9m8f8qq4zyh4wbi5l4qgsdjr2lm74ci3483xy";
fetchSubmodules = true;
};

cargoSha256 = "0vyxp74jlnrisk0kblsbj9d9a54wcgzbyjm7iqav1k4ns3syrnmh";
cargoSha256 = "170bz48jrc1k2ylfmd3bcry0xpcxx8p3rzzv9mprlfmrfpb0b28r";

nativeBuildInputs = [ python cmake clang ];
buildInputs = [ llvmPackages.libclang ] ++
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";

doCheck = false; # https://github.com/bytecodealliance/wasmtime/issues/1197
# no test on darwin due to
# https://github.com/bytecodealliance/wasmtime/issues/1556
doCheck = !stdenv.isDarwin;

meta = with lib; {
description = "Standalone JIT-style runtime for WebAssembly, using Cranelift";
Expand Down

0 comments on commit 0f52291

Please sign in to comment.