mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-12 12:27:21 +00:00
wasmtime: 8.0.1 -> 9.0.0
https://github.com/bytecodealliance/wasmtime/blob/v9.0.0/RELEASES.md
This commit is contained in:
parent
bcacb9f404
commit
4a01ba47ee
@ -1,27 +1,29 @@
|
|||||||
{ rustPlatform, fetchFromGitHub, lib, stdenv }:
|
{ rustPlatform, fetchFromGitHub, Security, lib, stdenv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wasmtime";
|
pname = "wasmtime";
|
||||||
version = "8.0.1";
|
version = "9.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bytecodealliance";
|
owner = "bytecodealliance";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-xSHwR2MGL49VDKjzAh+xYHbLz3FFg3KYVBjALVgKSQI=";
|
hash = "sha256-9ga7BKJoaw7naX8t4o+zNnWkjIvSII5oVRM0dYMrseo=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-A2JhjRFKPltHubiJYHBXj2H4cdU43Y2x6UjEpRGPX7U=";
|
cargoHash = "sha256-GkL78aAIGdSlcxeRTIVp1jcXIg1ZtvB2LNIoPEViNcs=";
|
||||||
|
|
||||||
cargoBuildFlags = [ "--package" "wasmtime-cli" "--package" "wasmtime-c-api" ];
|
cargoBuildFlags = [ "--package" "wasmtime-cli" "--package" "wasmtime-c-api" ];
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
# SIMD tests are only executed on platforms that support all
|
# SIMD tests are only executed on platforms that support all
|
||||||
# required processor features (e.g. SSE3, SSSE3, SSE4.1 and SSE4.2 on x86_64):
|
# required processor features (e.g. SSE3, SSSE3 and SSE4.1 on x86_64):
|
||||||
# https://github.com/bytecodealliance/wasmtime/blob/207cd1ce15ecc504dafaec490c5eae801cac4691/cranelift/codegen/src/isa/x64/mod.rs#L228
|
# https://github.com/bytecodealliance/wasmtime/blob/v9.0.0/cranelift/codegen/src/isa/x64/mod.rs#L220
|
||||||
doCheck = with stdenv.buildPlatform; (isx86_64 -> sse3Support && ssse3Support && sse4_1Support && sse4_2Support);
|
doCheck = with stdenv.buildPlatform; (isx86_64 -> sse3Support && ssse3Support && sse4_1Support);
|
||||||
cargoTestFlags = ["--package" "wasmtime-runtime"];
|
cargoTestFlags = ["--package" "wasmtime-runtime"];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -40352,7 +40352,9 @@ with pkgs;
|
|||||||
|
|
||||||
omnisharp-roslyn = callPackage ../development/tools/omnisharp-roslyn { };
|
omnisharp-roslyn = callPackage ../development/tools/omnisharp-roslyn { };
|
||||||
|
|
||||||
wasmtime = callPackage ../development/interpreters/wasmtime { };
|
wasmtime = callPackage ../development/interpreters/wasmtime {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
wfuzz = with python3Packages; toPythonApplication wfuzz;
|
wfuzz = with python3Packages; toPythonApplication wfuzz;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user