-
Notifications
You must be signed in to change notification settings - Fork 69
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
docs.rs build not working #46
Comments
We can change the [package.metadata.docs.rs]
features = ["stm32f103", "rt", "stm32-usbd"]
+ default-target = "thumbv7m-none-eabi" Until that's added, does anyone see issues with making |
Related docs.rs issues: |
As we currently don't have a Does this one sum it up? [package.metadata.docs.rs]
features = ["stm32f3DISCOVERY", "rt"]
# thumbv7m-none-eabi is not a supported target on docs.rs,
# however the target is not relevant for docs.
default-target = "x86_64-unknown-linux-gnu" |
We do have a section here: Line 13 in 7e0d7e6
I think the comment you wrote also makes sense to add. |
Ah sorry, was falsely checking the |
Seems to be a bug in docs.rs, because it tries building on the default target, but does not fetch a rustup target for it. Adding |
I was able to confirm that the approach of the default target to the package meta-data works. [package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu" https://docs.rs/crate/stm32f3-discovery/0.1.3/source/Cargo.toml |
Error log from docs.rs
Related: stm32-rs/stm32f1xx-hal#154
Reported by @strom-und-spiele: #45 (comment)
Likely caused by the addition of this:
stm32f3xx-hal/.cargo/config
Line 8 in 7e0d7e6
The text was updated successfully, but these errors were encountered: