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

error 0465 #235

Closed
er962284 opened this issue Jan 20, 2020 · 2 comments
Closed

error 0465 #235

er962284 opened this issue Jan 20, 2020 · 2 comments

Comments

@er962284
Copy link

error[E0465]: multiple rlib candidates for compiler_builtins found
|
= note: candidate #1: /root/redshirt/target/arm-freestanding/debug/deps/libcompiler_builtins-46f0356f1368c3ed.rlib
= note: candidate #2: /root/redshirt/target/arm-freestanding/debug/deps/libcompiler_builtins-9428eefa136346ab.rlib

by the following:
RUST_TARGET_PATH=pwd cargo +nightly build -Z build-std=core,alloc --target arm-freestanding --package redshirt-standalone-kernel

@tomaka
Copy link
Owner

tomaka commented Jan 20, 2020

This is unfortunately rust-lang/compiler-builtins#334 (now rust-lang/wg-cargo-std-aware#53).

Using nightly-2019-12-05 works (that's what the CI does)

@tomaka
Copy link
Owner

tomaka commented Jan 20, 2020

Closing as duplicate of #164

@tomaka tomaka closed this as completed Jan 20, 2020
@tomaka tomaka mentioned this issue Jan 20, 2020
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