Skip to content

MSP430 doesn't have libstd or libcore provided upstream #1683

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
cr1901 opened this issue Feb 20, 2022 · 1 comment
Closed

MSP430 doesn't have libstd or libcore provided upstream #1683

cr1901 opened this issue Feb 20, 2022 · 1 comment

Comments

@cr1901
Copy link

cr1901 commented Feb 20, 2022

Crate name

msp430-rt

Build failure link

https://docs.rs/crate/msp430-rt/0.3.1/builds/512492

Additional details

msp430-none-elf doesn't have a standard library provided by nightly. It must be built as part of the application for now. I figured these fields would be enough, but if there's no way to prevent docs.rs from trying to download the standard lib, then I can no longer build documentation for msp430-rt. The current metadata fields don't seem to have a way to tell rustup "don't download std".

Some msp430 crates work around needing to compile docs for the msp430 target by just compiling for the defaults anyway, but due to at least abi_msp430_interrupt, this approach doesn't work here (and I don't think it'll work once target-specific calling conventions are stabilized either).

@jyn514
Copy link
Member

jyn514 commented Feb 20, 2022

Duplicate of #1561

@jyn514 jyn514 marked this as a duplicate of #1561 Feb 20, 2022
@jyn514 jyn514 closed this as completed Feb 20, 2022
pmnxis referenced this issue in pmnxis/msp430fr2433 Jul 22, 2022
Even update additional metadata such as "targets" and "cargo-args".
cargo does not generate doc well.
It depend issue `https://github.com/rust-lang/docs.rs/issues/1683`
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