Skip to content

Can't compile core for msp430 - AtomicPtr #45834

Closed
@japaric

Description

@japaric

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions