cargo-xwin
cargo-xwin copied to clipboard
How Do I Fix Compiling Errors With Some Crates?
For Example:
error: failed to run custom build command for rust-crypto v0.2.36
Internal error occurred: Failed to find tool. Is clang-cl --target=x86_64-pc-windows-msvc installed?
This is my rustup install:
RUN rustup default nightly && \
rustup target add x86_64-pc-windows-msvc && \
rustup component add llvm-tools-preview && \
rustup toolchain install nightly && \
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu && \
rustup target add x86_64-unknown-linux-musl
Is there something i need to install / edit in the docker file, i am using a fork of this docker file, so this shouldn't be an issues installing stuff.
i have tried:
RUN apt-get install musl-tools -y
RUN apt-get install -y clang-tools
but still no luck.