svls icon indicating copy to clipboard operation
svls copied to clipboard

Failed to compile 0.28

Open boorbajones opened this issue 2 years ago • 1 comments

with make that worked fine, I then tried

Job: make release_lnx make release_lnx cargo build --release --target=x86_64-unknown-linux-musl Updating crates.io index Downloading crates ... Downloaded atty v0.2.14 : : : Downloaded futures-macro v0.3.21 Downloaded anyhow v1.0.70 Compiling memchr v2.5.0 Compiling serde_derive v1.0.160 Compiling cfg-if v1.0.0 Compiling minimal-lexical v0.2.1 Compiling same-file v1.0.6 Compiling regex v1.5.5 error[E0463]: can't find crate for core | = note: the x86_64-unknown-linux-musl target may not be installed = help: consider downloading the target with rustup target add x86_64-unknown-linux-musl

error[E0463]: can't find crate for compiler_builtins : : : Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0463, E0531. error: could not compile memchr due to 988 previous errors make: *** [release_lnx] Error 101

I tried first with rust 1.6.5, then with rust 1.6.9, but that did not solve the matter.

boorbajones avatar Apr 21 '23 17:04 boorbajones

x86_64-unknown-linux-musl is a special target to avoid the dependency to glibc. It requires target installation through rustup target add x86_64-unknown-linux-musl.

If you doesn't use it, cargo build --release can be used.

dalance avatar Apr 22 '23 00:04 dalance