Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736886 - 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: ]
Summary: dev-util/wasmer-0.11.0 should enable at least one backends by default - wasme...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-08-12 15:09 UTC by Julius
Modified: 2020-08-12 17:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Use flags for backend features (ebuild-improvement-suggestions.patch,1.16 KB, patch)
2020-08-12 15:13 UTC, Julius
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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