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

No available targets are compatible with triple "wasm32-unknown-unknown #302

Open
cbbfcd opened this issue Sep 13, 2024 · 1 comment
Open

Comments

@cbbfcd
Copy link

cbbfcd commented Sep 13, 2024

error message:

zstd-sys@2.0.13+zstd.1.5.6: error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-unknown"

warning: zstd-sys@2.0.13+zstd.1.5.6: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-exceptions" "--target=wasm32-unknown-unknown" "-I" "wasm-shim/" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DXXH_PRIVATE_API=" "-DZSTDLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-o" "/Users/huangteng/Work/zstd-wasm/target/wasm32-unknown-unknown/release/build/zstd-sys-75a246f1ac88cef3/out/690f776bf7b37aeb-huf_decompress_amd64.o" "-c" "zstd/lib/decompress/huf_decompress_amd64.S" with args clang did not execute successfully (status code exit status: 1).

@jszwedko
Copy link

jszwedko commented Oct 3, 2024

I just ran into this today too. Interestingly it seems to happen only on MacOS and not Debian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants