Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile 0.28 #206

Open
boorbajones opened this issue Apr 21, 2023 · 1 comment
Open

Failed to compile 0.28 #206

boorbajones opened this issue Apr 21, 2023 · 1 comment

Comments

@boorbajones
Copy link

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 boorbajones changed the title Failed to compile 0.28bshell Failed to compile 0.28 Apr 21, 2023
@dalance
Copy link
Owner

dalance commented Apr 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants