Lucet Versions Save

Lucet, the Sandboxing WebAssembly Compiler.

0.6.1

4 years ago
  • Added metadata to compiled modules that record whether instruction counting instrumentation is present.

  • Made lucetc more flexible in its interpretation of the LD environment variable. It now accepts a space-separated set of tokens; the first token specifies the program to invoke, and the remaining tokens specifying arguments to be passed to that program. Thanks, @froydnj!

  • Added public LucetcOpt methods to configure the canonicalize_nans setting. Thanks, @roman-kashitsyn!

  • Fixed lucet-runtime's use of CPUID to not look for extended features unless required by the module being loaded, avoiding a failure on older CPUs where that CPUID leaf is not present. Thanks, @shravanrn!

0.6.0

4 years ago
  • Added free_slots(), used_slots(), and capacity() methods to the Region trait.

  • Added a check to ensure the Limits signal stack size is at least MINSIGSTKSZ, and increased the default signal stack size on macOS debug builds to fit this constraint.

  • Added an option to canonicalize NaNs to the lucetc API. Thanks, @DavidM-D!

  • Restored some of the verbosity of pretty-printed errors in lucetc and lucet-validate, with more on the way.

  • Fixed OS detection for LDFLAGS on macOS. Thanks, @roman-kashitsyn!

0.5.1

4 years ago
  • Fixed a memory corruption bug that could arise in certain runtime configurations. (PR) (RustSec advisory)

0.5.0

4 years ago
  • Lucet officially became a project of the Bytecode Alliance ?.

  • Integrated wasi-common as the underlying implementation for WASI in lucet-wasi.

  • Updated to Cranelift to version 0.51.0.

  • Fixed a soundness bug by changing the types of the Vmctx::yield*() methods to require exclusive &mut self access to the Vmctx. This prevents resources like embedder contexts or heap views from living across yield points, which is important for safety since the host can modify the data underlying those resources while the instance is suspended.

  • Added the #[lucet_hostcall] attribute to replace lucet_hostcalls!, which is now deprecated.

  • Added the ability to specify an alignment for the base of a MmapRegion-backed instance's heap. Thanks, @shravanrn!

  • Added a --target option to lucetc to allow cross-compilation to other architectures than the host's. Thanks, @froydnj!

  • Changed the Cargo dependencies between Lucet crates to be exact (e.g., "=0.5.0" rather than "0.5.0") rather than allowing semver differences.

  • Fixed the KillSwitch type not being exported from the public API, despite being usable via Instance::kill_switch().

  • Improved the formatting of error messages.

  • Ensured the lucet-wasi executable properly links in the exported symbols from lucet-runtime.

0.4.3

4 years ago
  • Backported the fix for a memory corruption bug that could arise in certain runtime configurations. (PR) (RustSec advisory)

0.4.1

4 years ago

0.1.1

4 years ago