Skip to content
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

[source] buttons on docs.rs do not work #403

Open
jonas-schievink opened this issue Sep 30, 2022 · 0 comments
Open

[source] buttons on docs.rs do not work #403

jonas-schievink opened this issue Sep 30, 2022 · 0 comments

Comments

@jonas-schievink
Copy link
Contributor

https://docs.rs/nrf52840-hal/0.15.1/nrf52840_hal/struct.Timer.html

Clicking on any of the [source] buttons here results in a 404.

This happens because the source code is in the nrf_hal_common crate, which does not get properly built on docs.rs: right now it tries to build without enabling a chip feature.

The short-term fix for some chips only is to tell docs.rs to enable one of the chip features (preferably one with all the peripherals). The long-term fix probably involves changing how the HAL is structured.

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

1 participant