Function js_sys::WebAssembly::compile [−][src]
pub fn compile(buffer_source: &JsValue) -> Promise
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).