You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we do wasmer run xyz.wasm, we want to execute this module automatically with the singlepass backend if the file is larger than 10Mb.
Proposed solution
Wasmer right now have cranelift as the default backend in the StructOpt. We should make another option to be autodetect (to be the default) and choose the backend depending on what's available and the file size.
The text was updated successfully, but these errors were encountered:
1004: Adapt backend usage depending on wasm file executed r=Hywan a=d0iasm
Adapt backend usage depending on wasm file executed in issue #998.
Close#998
# Description
Add `auto` backend into a runtime-core and use it as a default backend.
The `auto` backend is equivalent to:
* singlepass if singlepass is enabled and the wasm file size is larger than 10MiB, or singlepass is enable and the target architecture is aarch64.
* cranelift otherwise.
Co-authored-by: Asami Doi <[email protected]>
Co-authored-by: Ivan Enderlin <[email protected]>
1004: Adapt backend usage depending on wasm file executed r=Hywan a=d0iasm
Adapt backend usage depending on wasm file executed in issue #998.
Close#998
# Description
Add `auto` backend into a runtime-core and use it as a default backend.
The `auto` backend is equivalent to:
* singlepass if singlepass is enabled and the wasm file size is larger than 10MiB, or singlepass is enable and the target architecture is aarch64.
* cranelift otherwise.
Co-authored-by: Asami Doi <[email protected]>
Co-authored-by: Ivan Enderlin <[email protected]>
1004: Adapt backend usage depending on wasm file executed r=d0iasm a=d0iasm
Adapt backend usage depending on wasm file executed in issue #998.
Close#998
# Description
Add `auto` backend into a runtime-core and use it as a default backend.
The `auto` backend is equivalent to:
* singlepass if singlepass is enabled and the wasm file size is larger than 10MiB, or singlepass is enable and the target architecture is aarch64.
* cranelift otherwise.
Co-authored-by: Asami Doi <[email protected]>
Co-authored-by: Ivan Enderlin <[email protected]>
Thanks for proposing a new feature!
Motivation
When we do
wasmer run xyz.wasm
, we want to execute this module automatically with the singlepass backend if the file is larger than 10Mb.Proposed solution
Wasmer right now have
cranelift
as the default backend in the StructOpt. We should make another option to beautodetect
(to be the default) and choose the backend depending on what's available and the file size.The text was updated successfully, but these errors were encountered: