Lucet, a Sandboxing WebAssembly Compiler

Lucet, a Sandboxing WebAssembly Compiler

is a Rust crate that provides wrappers around these tools for building C programs into Lucet modules. For example, to create a WebAssembly module from :

The next step is to use Lucet to build native code from that WebAssembly file:

is the WebAssembly to native code compiler. On recent Ubuntu versions, the , and packages must be installed:

In order to compile applications to WebAssembly, builtins need to be installed as well:

Install the latest stable version of the Rust compiler:

Enter the Lucet git repository clone, and fetch/update the submodules:

In order to compile applications to WebAssembly, builtins need to be installed as well:

Enter the Lucet git repository clone, and fetch/update the submodules:

The lucet project aims to provide support for secure execution of untrusted code.

Source: github.com