pub fn compile(buffer_source: &JsValue) -> Promise
Available on crate feature
dep_js_sys
only.Expand description
The WebAssembly.compile()
function compiles a WebAssembly.Module
from WebAssembly binary code. This function is useful if it is
necessary to a compile a module before it can be instantiated
(otherwise, the WebAssembly.instantiate()
function should be used).