Skip to content

Can't compile core for msp430 - AtomicPtr #45834

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

Closed
japaric opened this issue Nov 7, 2017 · 1 comment
Closed

Can't compile core for msp430 - AtomicPtr #45834

japaric opened this issue Nov 7, 2017 · 1 comment

Comments

@japaric
Copy link
Member

japaric commented Nov 7, 2017

STR

$ rustup default nightly

$ rustup component add rust-src

$ cp -r $(rustc --print sysroot)/lib/rustlib/src/rust/src .

$ cd src/libcore

$ cargo build --target msp430-none-elf
   Compiling core v0.0.0 (file:///home/japaric/tmp/src/libcore)
error[E0412]: cannot find type `AtomicPtr` in this scope
   --> sync/atomic.rs:931:26
    |
931 | impl<T> From<*mut T> for AtomicPtr<T> {
    |                          ^^^^^^^^^ not found in this scope

error: aborting due to previous error

error: Could not compile `core`.

Metadata

$ rustc -V
rustc 1.23.0-nightly (bd0e45a32 2017-11-06)
@kennytm
Copy link
Member

kennytm commented Nov 7, 2017

Duplicate of #45802.

@kennytm kennytm closed this as completed Nov 7, 2017
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