Open cbbfcd opened 2 months ago
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).
I just ran into this today too. Interestingly it seems to happen only on MacOS and not Debian.
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).