Skip to content

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Mar 18, 2025

@cclauss cclauss requested a review from legendecas March 18, 2025 12:49
@cclauss cclauss added the python Pull requests that update Python code label Mar 18, 2025
@legendecas
Copy link
Member

@legendecas
Copy link
Member

@toyobayashi would you mind helping us identifying the issue? Thank you!

@toyobayashi
Copy link
Contributor

It seems that the latest version Visual Studio LLVM clang doesn't support wasm32 target...

> C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools>"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\Llvm\bin\clang.exe" -print-targets

  Registered Targets:
    aarch64    - AArch64 (little endian)
    aarch64_32 - AArch64 (little endian ILP32)
    aarch64_be - AArch64 (big endian)
    arm        - ARM
    arm64      - ARM64 (little endian)
    arm64_32   - ARM64 (little endian ILP32)
    armeb      - ARM (big endian)
    thumb      - Thumb
    thumbeb    - Thumb (big endian)
    x86        - 32-bit X86: Pentium-Pro and above
    x86-64     - 64-bit X86: EM64T and AMD64

After I switch CC_target to wasi-sdk on my local machine, it's ok.

@cclauss
Copy link
Contributor Author

cclauss commented Mar 19, 2025

Can I please get approval on the Python-related changes in this pull request?

We can move the Windows wasm discussion to

@cclauss cclauss merged commit 80f7771 into nodejs:main Mar 19, 2025
36 of 40 checks passed
@cclauss cclauss deleted the python-fixes-for-ruff-v0.11.0 branch March 19, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants