Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build "min" artifacts on CI #7315

Merged
merged 3 commits into from
Oct 23, 2023

Commits on Oct 20, 2023

  1. riscv64: Extend distance trampolines can jump

    Use a PIC-friendly set of instructions to enable destination of the
    trampoline to be more than 4k away from the tail call site of the
    trampoline itself.
    alexcrichton committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    de101ad View commit details
    Browse the repository at this point in the history
  2. Build "min" artifacts on CI

    This commit updates the binary artifacts produced by CI to include "min"
    builds where all default features are disabled. Additionally all the
    stops are pulled in terms of build flags, nightly versions, etc, to get
    a build that is as small as possible without actual source code changes.
    This effectively codifies the instructions in bytecodealliance#7282 into an easily
    downloadable artifact.
    
    No new tarballs are created for github releases but instead tarballs
    that previously had a `wasmtime` executable for example now have a
    `wasmtime-min` executable. Furthermore the C API which previously had
    `libwasmtime.so` for example now has `libwasmtime-min.so`. The intention
    is that the minimum-size artifacts are handy for determining a rough
    size of Wasmtime but they're not so important that it seems worthwhile
    to dedicate entire release entries for.
    
    CI is refactored to support these minimum builds with separate builders.
    This means that a single tarball produced as a final result is actually
    two separate tarballs merged together, one for the normal build we do
    today plus a new "min" tarball produced on the new "min" builders.
    Various scripts and CI organization has been adjusted accordingly.
    
    While here I went ahead and enabled `panic=abort` and debuginfo
    stripping in our current release artifacts. While this doesn't affect a
    whole lot it's less to upload to GitHub Actions all the time.
    alexcrichton committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    1fb9f4e View commit details
    Browse the repository at this point in the history
  3. Fix Windows unzip

    alexcrichton committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    464ebc2 View commit details
    Browse the repository at this point in the history