wasmtime : 0.12.0 -> 0.15.0

and enable tests again, now that upstream fixed stuff.
This commit is contained in:
Joachim Breitner 2020-04-20 09:32:39 +02:00
parent 06bed53569
commit 566cd87dee
1 changed files with 4 additions and 4 deletions

View File

@ -2,24 +2,24 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "wasmtime"; pname = "wasmtime";
version = "0.12.0"; version = "0.15.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bytecodealliance"; owner = "bytecodealliance";
repo = "${pname}"; repo = "${pname}";
rev = "v${version}"; rev = "v${version}";
sha256 = "08dhk5s8rv41mjqbwfqwqmp6p6p9y7qc5yc76ljjd9l7j1phl7mr"; sha256 = "1df99iak0psydlg9m8f8qq4zyh4wbi5l4qgsdjr2lm74ci3483xy";
fetchSubmodules = true; fetchSubmodules = true;
}; };
cargoSha256 = "0vyxp74jlnrisk0kblsbj9d9a54wcgzbyjm7iqav1k4ns3syrnmh"; cargoSha256 = "170bz48jrc1k2ylfmd3bcry0xpcxx8p3rzzv9mprlfmrfpb0b28r";
nativeBuildInputs = [ python cmake clang ]; nativeBuildInputs = [ python cmake clang ];
buildInputs = [ llvmPackages.libclang ] ++ buildInputs = [ llvmPackages.libclang ] ++
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
LIBCLANG_PATH = "${llvmPackages.libclang}/lib"; LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
doCheck = false; # https://github.com/bytecodealliance/wasmtime/issues/1197 doCheck = true;
meta = with lib; { meta = with lib; {
description = "Standalone JIT-style runtime for WebAssembly, using Cranelift"; description = "Standalone JIT-style runtime for WebAssembly, using Cranelift";