You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried compiling empty project and it failed with the error
Compiling compiler_builtins v0.1.46
Compiling core v0.0.0 (/home/mkb/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/lib/rustlib/src/rust/library/core)
Compiling libc v0.2.93
Compiling cc v1.0.68
Compiling std v0.0.0 (/home/mkb/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/lib/rustlib/src/rust/library/std)
Compiling unwind v0.0.0 (/home/mkb/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/lib/rustlib/src/rust/library/unwind)
Compiling rustc-std-workspace-core v1.99.0 (/home/mkb/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/lib/rustlib/src/rust/library/rustc-std-workspace-core)
error: could not find native static library `c`, perhaps an -L flag is missing?
Compiling alloc v0.0.0 (/home/mkb/.rustup/toolchains/nightly-x86_64-unknown-linux-musl/lib/rustlib/src/rust/library/alloc)
error: aborting due to previous error
error: could not compile `libc`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
cargo version: cargo 1.55.0-nightly (9233aa06c 2021-06-22)
system: Void Linux with musl and libc
command to reproduce
cargo new --bin project && cd project
cargo +nightly build --release -Z build-std=std --target=x86_64-unknown-linux-musl
But I tested instead creating a project with libc as a dependency and compiled as normal cargo +nightly build --release and it builds fine, so libc isn't the entire problem
The text was updated successfully, but these errors were encountered:
Tried compiling empty project and it failed with the error
cargo version:
cargo 1.55.0-nightly (9233aa06c 2021-06-22)
system: Void Linux with musl and libc
command to reproduce
But I tested instead creating a project with libc as a dependency and compiled as normal
cargo +nightly build --release
and it builds fine, so libc isn't the entire problemThe text was updated successfully, but these errors were encountered: