Closed jolisper closed 3 years ago
< utility >
is part of C++ stdlib, it seems you missed musl C++ support?
I get an similar error under Windows 10
Internal error occurred: Command "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\x86_amd64\\cl.exe" "/nologo" "/MD" "/Z7" "-Wno-implicit-fallthrough" "-Wno-unknown-attributes" "-msse4.2" "-maes" "-mavx" "-mavx2" "/DT1HA0_RUNTIME_SELECT=1" "/DT1HA0_
AESNI_AVAILABLE=1" "/W4" "/FoD:\\temp\\dexter\\target\\debug\\build\\fasthash-sys-2fd15fb3b4e39d71\\out\\src\\fasthash.o" "/c" "src/fasthash.cpp" with args "cl.exe" did not execute successfully (status code exit code: 2).
rust Version: rustc 1.36.0 (a53f9df32 2019-07-03)
@jolisper you may have some luck with this: https://github.com/emk/rust-musl-builder/issues/65#issuecomment-469049466
I'm trying to build my crate for a musl based linux (alpine) and when I run:
$ cargo build --target=x86_64-unknown-linux-musl
on master branch, shows the following output:
The problem is the same using stable and nightly toolchains.
Any idea how to fix this? Or how to proceed in order to build this crate for musl target?