Skip to content

Update autoconf to warn when building under wasm32-unknown-emscripten #113632

Description

@brettcannon

Bug report

Bug description:

Support for wasm32-unknown-emscripten was dropped in python/peps#3612 . As part of PEP 11, a configure error needs to be triggered when building for the platform.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Activity

  1. brettcannon commented on Jan 15, 2024

    @brettcannon
    MemberAuthor

    This is blocked on the SC answering python/steering-council#226 .

  2. brettcannon commented on Jan 31, 2024

    @brettcannon
    MemberAuthor

    Another option is to have a warning anytime you build on a platform that isn't supported.

  3. erlend-aasland commented on Feb 1, 2024

    @erlend-aasland
    Contributor

    Another option is to have a warning anytime you build on a platform that isn't supported.

    We already have the following code in place:

    https://github.com/python/cpython/blob/5ce193e65a7e6f239337a8c5305895cf8a4d2726/configure.ac#L961C13-L995

    Removing this line...:

    [wasm32-unknown-emscripten/clang], [PY_SUPPORT_TIER=3], dnl WebAssembly Emscripten

    ... should end up producing a warning.

  4. changed the title [-]Add error to autoconf when building under `wasm32-unknown-emscripten`[/-] [+]Update autoconf to warn when building under `wasm32-unknown-emscripten`[/+] on Feb 1, 2024
  5. self-assigned this
    on Feb 1, 2024
  6. added a commit that references this issue on Feb 9, 2024
  7. added a commit that references this issue on Feb 9, 2024
  8. added a commit that references this issue on Feb 14, 2024
  9. added a commit that references this issue on Apr 13, 2024
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 fixesOS-wasibuildThe build process and cross-builddeferred-blockertype-bugAn unexpected behavior, bug, or error

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions