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
The only breaking change is the renaming of the engines: JIT becomes
Universal, and Native becomes Dylib. To avoid this breaking change,
JIT extends Universal and Native extends Dylib, and they become
deprecated.
Test cases have been added to ensure the same behavior with JIT and
Native.
<li><code><atitle="wasmer_compiler_cranelift" href="../wasmer_compiler_cranelift/index.html">wasmer_compiler_cranelift</a></code> to use the Cranelift compiler,</li>
44
44
<li><code><atitle="wasmer_compiler_llvm" href="../wasmer_compiler_llvm/index.html">wasmer_compiler_llvm</a></code> to use the LLVM compiler,</li>
45
-
<li><code><atitle="wasmer_compiler_singlepass" href="../wasmer_compiler_singlepass/index.html">wasmer_compiler_singlepass</a></code> to use the Singlepass compiler.</li>
45
+
<li><code>wasmer_compiler_singlepass</code> to use the Singlepass compiler.</li>
46
46
</ul>
47
47
<h2id="example">Example</h2>
48
-
<p>Create a JIT engine with no compiler (headless mode):</p>
48
+
<p>Create a Universal engine with no compiler (headless mode):</p>
target for the compiler. A <code><atitle="target.Target" href="#target.Target">Target</a></code> is defined by a <code><atitle="target.Triple" href="#target.Triple">Triple</a></code> and
<divclass="desc"><p>The environment provided to the WASI imports.</p>
88
85
<p>To build it, use <code><atitle="wasi.StateBuilder" href="#wasi.StateBuilder">StateBuilder</a></code>. See <code><atitle="wasi.StateBuilder.finalize" href="#wasi.StateBuilder.finalize">StateBuilder.finalize()</a></code> to
<divclass="desc"><p>Set a memory to the WASI. Usually, it is a <code><atitle="wasmer.Memory" href="../wasmer/index.html#wasmer.Memory">Memory</a></code>
95
-
object from <code>instance.exports.<memory_name></code>.</p>
0 commit comments