-
Notifications
You must be signed in to change notification settings - Fork 179
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 builds failed #154
Comments
I noticed that as well but forgot to deal with it. I'm not sure how to fix it outside of reporting it to docs.rs |
That's fair. I'll open an issue on the docs.rs repo when I have a minute. |
We're having the same issue over on |
That would be a solution, is there a way to do that for just the docs build? |
That's what I am proposing to do, but I am not sure if it works yet though. I assume something like this should: [package.metadata.docs.rs]
features = ["stm32f103", "rt", "stm32-usbd"]
+ default-target = "x86_64-unknown-linux-gnu" |
The 0.5.1 and 0.5.2 docs builds are failing with an error about not being able to build for
thumbv7m-none-eabi
. Example log here. 0.5.0 is fine.I attempted a fix locally by adding
default-target
toCargo.toml
:[package.metadata.docs.rs] features = ["stm32f103", "rt", "stm32-usbd"] + default-target = "thumbv7m-none-eabi"
then following the docs.rs instructions and running
docker-compose run -v "$(realpath ~/Repositories/stm32f1xx-hal)":/build web build crate --local /build
But I get the same error as the log on docs.rs:
This might be more relevant to the docs.rs repo, but I thought I'd open it here in case it's a fixable problem on the stm32-rs side of things.
The text was updated successfully, but these errors were encountered: