Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

0.5.0 crates.io release

Compare
Choose a tag to compare
@acfoltzer acfoltzer released this 31 Jan 20:12
0.5.0
9fc93a4
  • 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.