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!
Created attachment 654330 [details, diff] Use flags for backend features
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7678dbb047090b30ae6605ab17ad6702cc9cda47 commit 7678dbb047090b30ae6605ab17ad6702cc9cda47 Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2025-01-06 19:41:22 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2025-01-06 19:41:33 +0000 dev-util/wasmer: treeclean Closes: https://bugs.gentoo.org/716768 (pkgremoved) Closes: https://bugs.gentoo.org/724240 (pkgremoved) Closes: https://bugs.gentoo.org/727492 (pkgremoved) Closes: https://bugs.gentoo.org/736886 (pkgremoved) Closes: https://bugs.gentoo.org/765640 (pkgremoved) Closes: https://bugs.gentoo.org/771306 (pkgremoved) Closes: https://bugs.gentoo.org/830077 (pkgremoved) Closes: https://bugs.gentoo.org/864079 (pkgremoved) Closes: https://bugs.gentoo.org/868207 (pkgremoved) Closes: https://bugs.gentoo.org/910681 (pkgremoved) Closes: https://bugs.gentoo.org/915513 (pkgremoved) Closes: https://bugs.gentoo.org/933595 (pkgremoved) Signed-off-by: Florian Schmaus <flow@gentoo.org> dev-util/wasmer/Manifest | 163 ----------------------------- dev-util/wasmer/metadata.xml | 8 -- dev-util/wasmer/wasmer-0.11.0.ebuild | 194 ----------------------------------- profiles/package.mask | 4 - 4 files changed, 369 deletions(-)