Merge pull request #81364 from ggreif/wasmtime-0.12
wasmtime: 0.8.0 -> 0.12.0
This commit is contained in:
commit
8a863c2973
File diff suppressed because it is too large
Load Diff
@ -2,28 +2,25 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wasmtime";
|
pname = "wasmtime";
|
||||||
version = "v0.8.0";
|
version = "v0.12.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bytecodealliance";
|
owner = "bytecodealliance";
|
||||||
repo = "${pname}";
|
repo = "${pname}";
|
||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
sha256 = "0az893srw49szvs5461bd165ffla4cc98gh42p3dwskwfkhpqjm4";
|
sha256 = "08dhk5s8rv41mjqbwfqwqmp6p6p9y7qc5yc76ljjd9l7j1phl7mr";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Delete this on next update; see #79975 for details
|
cargoSha256 = "0wqd2yy6ih1rcz1fq7x3aiqq1ma2nmif1w8r8x0vpxjxk395zil9";
|
||||||
legacyCargoFetcher = true;
|
|
||||||
|
|
||||||
cargoSha256 = "08b3rbnl7qwyfbwaqcb7z84sh0h94v18v6557hrf0dlil414v54i";
|
|
||||||
|
|
||||||
cargoPatches = [ ./cargo-lock.patch ];
|
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Standalone JIT-style runtime for WebAssembly, using Cranelift";
|
description = "Standalone JIT-style runtime for WebAssembly, using Cranelift";
|
||||||
homepage = https://github.com/CraneStation/wasmtime;
|
homepage = https://github.com/CraneStation/wasmtime;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user