Skip to content

Support wasm32-wasip1 as the default WASI target triple #123877

Closed

Description

@brettcannon

Bug report

Bug description:

https://bytecodealliance.zulipchat.com/#narrow/stream/219900-wasi/topic/Is.20.60wasm32-wasi.60.20retired.20in.20preference.20for.20.60wasm32-wasip1.60.3F points out that wasm32-wasi is soft deprecated in favour of wasm32-wasip1 so that wasm32-wasi can be claimed for WASI 1.0. As such, we should move over to making -wasip1 the target triple.

This will require #123042 as well as a version of brettcannon@2959f15 .

CPython versions tested on:

3.13

Operating systems tested on:

Other

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    3.13only security fixes
    3.14bugs and security fixes
    buildThe build process and cross-build
    on Sep 9, 2024
  2. self-assigned this
    on Sep 9, 2024
  3. vstinner commented on Sep 10, 2024

    @vstinner
    Member

    Can't we wait for Python 3.14 to make such change? A soft deprecation doesn't sound like something urgent.

  4. brettcannon commented on Sep 10, 2024

    @brettcannon
    MemberAuthor

    Can't we wait for Python 3.14 to make such change?

    I'm not making the change until 3.13.1 if that's what you're worried about. But I don't want to leave wasm32-wasi hard-coded as the default target in case WASI 1.0 comes in before the end of 2029 and Python 3.13 suddenly doesn't build out of the box for WASI because we left in the old triple.

    I also have a PR to make it easy enough to specify the triple as well, so it won't be a costly transition to specify it manually so some workflow works in 3.13.0 and 3.13.1.

  5. added 2 commits that reference this issue on Nov 7, 2024
  6. brettcannon commented on Nov 7, 2024

    @brettcannon
    MemberAuthor

    This is in main, but cherry-picker couldn't make it work for 3.13. I've asked for opinions from the Bytecode Alliance if people think it's worth backporting.

  7. added a commit that references this issue on Nov 7, 2024
  8. brettcannon commented on Nov 7, 2024

    @brettcannon
    MemberAuthor

    Once #126561 lands then I will make a PR to update the buildbot config.

  9. added a commit that references this issue on Nov 8, 2024
  10. added a commit that references this issue on Dec 8, 2024
  11. added a commit that references this issue on Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.13only security fixes3.14bugs and security fixesOS-wasibuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions