mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #97518 from goodbyekansas/wasmer-backend
wasmer: enable cranelift backend
This commit is contained in:
commit
ab1fb17e59
@ -22,6 +22,12 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
# Since wasmer 0.17 no backends are enabled by default. Backends are now detected
|
||||
# using the [makefile](https://github.com/wasmerio/wasmer/blob/master/Makefile).
|
||||
# Enabling cranelift as this used to be the old default. At least one backend is
|
||||
# needed for the run subcommand to work.
|
||||
cargoBuildFlags = [ "--features 'backend-cranelift'" ];
|
||||
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user