Skip to content

Lamina v0.2.3

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Nov 04:40
· 32 commits to main since this release

What's Changed

Features

  • pass program arguments to main under jit
  • exit 125 when jit refuses in-memory compilation
  • find 128-bit integers by walking ir
  • refuse i128 and u128 modules from jit
  • select msvc linker and crt from target environment
  • platform: read dash and underscore spellings alike
  • platform: add msvc and gnullvm environments
  • compile jit globals through ras runtime

Bug Fixes

  • take plain objdump only when it is llvm-objdump
  • drop mir only from opt-level usage
  • link libSystem for macho targets
  • report every weld stderr line
  • search dirs above lamina for weld
  • search dirs above test binary for lamina binary

Refactor

  • take jit test binary from test support

Tests

  • jit mode lists only testcases without 128-bit integers
  • jit mode lists only testcases that run correctly
  • jit mode compares raw bytes and runs globals testcases
  • jit mode runs fptoint_signed
  • jit mode lists testcases that x86_64 jit runs correctly
  • macos weld args name libSystem

Internal

  • update lockfile for ras 0.2.7 and weld 0.2.4
  • require ras 0.2.7
  • require weld 0.2.4
  • bump version to 0.2.3
  • bring jit paths into scope
  • bring ir module into scope
  • iterate wasm thunk params with enumerate
  • build tagged release without rerunning tests

Full Changelog: v0.2.2...v0.2.3


C SDK 0.2.1

Archive Target Surface
lamina-c-0.2.1-stable-x86_64-linux.tar.gz x86_64-linux Stable AOT (lamina.h)
lamina-c-0.2.1-nightly-x86_64-linux.tar.gz x86_64-linux + JIT (lamina_nightly.h)

Each archive includes headers, static + shared library, examples, pkg-config, LICENSE.

tar xzf lamina-c-0.2.1-stable-x86_64-linux.tar.gz
cd lamina-c-0.2.1-stable-x86_64-linux
cc examples/builder_aot.c -I include -L lib -llamina_c -Wl,-rpath,$(pwd)/lib -o builder_aot
./builder_aot

Verify checksums: sha256sum -c lamina-c-0.2.1-stable-x86_64-linux.tar.gz.sha256