Skip to content

Commit 4cec514

Browse files
authored
wasmer: 4.4.0 -> 5.0.0 (#352227)
2 parents 524989f + 5a06dd9 commit 4cec514

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

pkgs/development/interpreters/wasmer/default.nix

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@
88
, CoreFoundation
99
, SystemConfiguration
1010
, Security
11-
, withLLVM ? false
12-
, withSinglepass ? !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64)
11+
, withLLVM ? !(stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)
12+
, withSinglepass ? true
1313
}:
1414

1515
rustPlatform.buildRustPackage rec {
1616
pname = "wasmer";
17-
version = "4.4.0";
17+
version = "5.0.0";
1818

1919
src = fetchFromGitHub {
2020
owner = "wasmerio";
2121
repo = pname;
2222
rev = "refs/tags/v${version}";
23-
hash = "sha256-zKo7d7LAfdGb7hC8RK7YH4lhk7RbivS+hNZDyQyHYM8=";
23+
hash = "sha256-zTz4UK+A4HWf+XGaTh7FOUFEeB9JnZooFnxZ4K3AFGw=";
2424
};
2525

26-
cargoHash = "sha256-tajvVMRfBHefU0kVro830HeJSdgJEKPmEQm7X0+4+Kc=";
26+
cargoHash = "sha256-YSnGGd2uIxvhxDTJjtQMdv4Qx1DE7RA05Z+q4emJAKg=";
2727

2828
nativeBuildInputs = [
2929
rustPlatform.bindgenHook
@@ -52,12 +52,12 @@ rustPlatform.buildRustPackage rec {
5252

5353
cargoBuildFlags = [ "--manifest-path" "lib/cli/Cargo.toml" "--bin" "wasmer" ];
5454

55-
env.LLVM_SYS_150_PREFIX = lib.optionalString withLLVM llvmPackages.llvm.dev;
55+
env.LLVM_SYS_180_PREFIX = lib.optionalString withLLVM llvmPackages.llvm.dev;
5656

5757
# Tests are failing due to `Cannot allocate memory` and other reasons
5858
doCheck = false;
5959

60-
meta = with lib; {
60+
meta = {
6161
description = "Universal WebAssembly Runtime";
6262
mainProgram = "wasmer";
6363
longDescription = ''
@@ -67,10 +67,8 @@ rustPlatform.buildRustPackage rec {
6767
x86 and ARM devices.
6868
'';
6969
homepage = "https://wasmer.io/";
70-
license = licenses.mit;
71-
maintainers = with maintainers; [ Br1ght0ne shamilton nickcao ];
72-
# error: multiple fields are never read
73-
# --> lib/compiler-llvm/src/translator/intrinsics.rs:141:9
74-
broken = withLLVM;
70+
license = lib.licenses.mit;
71+
platforms = with lib.platforms; linux ++ darwin;
72+
maintainers = with lib.maintainers; [ Br1ght0ne shamilton nickcao ];
7573
};
7674
}

pkgs/top-level/all-packages.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37885,7 +37885,7 @@ with pkgs;
3788537885
wamr = darwin.apple_sdk_11_0.callPackage ../development/interpreters/wamr { };
3788637886

3788737887
wasmer = callPackage ../development/interpreters/wasmer {
37888-
llvmPackages = llvmPackages_15;
37888+
llvmPackages = llvmPackages_18;
3788937889
inherit (darwin.apple_sdk.frameworks) CoreFoundation SystemConfiguration Security;
3789037890
};
3789137891

0 commit comments

Comments
 (0)