Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 736886

Summary: dev-util/wasmer-0.11.0 should enable at least one backends by default - wasmer: error: 'cranelift' isn't a valid value for '--backend <backend>' [possible values: ]
Product: Gentoo Linux Reporter: Julius <gentoobug>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: UNCONFIRMED ---    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Use flags for backend features

Description Julius 2020-08-12 15:09:28 UTC
The ebuild only enables the default features, but wasmer for some reason enables none of the backends by default, thus the built binaries cannot execute any wasm and are useless.

(The additional kwasmd binary immediately panics with "Kwasm loader is not enabled during compilation.")

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-util/wasmer-0.11.0
2. acquire some random test file, e.g. https://github.com/wasmerio/wasmer/blob/be9da7278ba52d3790a339dfa656508d8d6acf12/tests/wasi_test_resources/snapshot1/hello.wasm
3. run wasmer hello.wasm
Actual Results:  
error: 'cranelift' isn't a valid value for '--backend <backend>'
	[possible values: ]

Expected Results:  
Hello, world!
Comment 1 Julius 2020-08-12 15:13:44 UTC
Created attachment 654330 [details, diff]
Use flags for backend features