Skip to content

Have Tools/wasm/wasi look for extracted tarball installs of the WASI SDK #137243

Closed

Description

@brettcannon

While Tools/wasm/wasi looks for /opt/wasi-sdk by default, that's not the natural directory that tarballs of the WASI SDK extract to. It makes sense to support discovery of the appropriate WASI SDK based on the supported WASI SDK version when it's extracted directly into /opt.

Starting with WASI SDK 23, the tarballs went from containing a directory named wasi-sdk-{WASI_SDK_VERSION}.0 to e.g. wasi-sdk-{WASI_SDK_VERSION}.0-x86_64-linux.

Linked PRs

Activity

  1. self-assigned this
    on Jul 30, 2025
  2. added
    triagedThe issue has been accepted as valid by a triager.
    type-featureA feature request or enhancement
    on Jul 30, 2025
  3. added a commit that references this issue on Jul 30, 2025
  4. brettcannon commented on Jul 30, 2025

    @brettcannon
    MemberAuthor

    @StanFromIreland FYI this isn't a feature as it's a tool update, and thus more of a build thing (but even that's iffy since it doesn't change the build process, it just makes it less clunky).

  5. StanFromIreland commented on Jul 30, 2025

    @StanFromIreland
    Member

    Yes, my intention was to mark it as not-a-bug and type-feature is the closest to that.

  6. brettcannon commented on Jul 30, 2025

    @brettcannon
    MemberAuthor

    type-feature is the closest to that

    The tricky part with "feature", though, is features have to get a PR review, while something like this in Tools/ is exempt from that sort of thing, so the classification is a bit tricky on this.

  7. added a commit that references this issue on Jul 30, 2025
  8. added a commit that references this issue on Jul 30, 2025
  9. added a commit that references this issue on Aug 19, 2025
  10. brettcannon commented on Sep 5, 2025

    @brettcannon
    MemberAuthor

    FYI this is essentially done; just leaving it open until I can merge the backport into 3.14.

  11. added a commit that references this issue on Oct 7, 2025
  12. hugovk commented on Oct 8, 2025

    @hugovk
    Member

    Backport merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

OS-wasibuildThe build process and cross-buildtriagedThe issue has been accepted as valid by a triager.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions