avrd
avrd copied to clipboard
Documentation build fail
It seems that documentation failed to build for 0.3.0: https://docs.rs/crate/avrd/0.3.0
If you look at the build log, there's a panic with message "Read-only filesystem". I think it's docs.rs
problem. But why 0.2.0 built successfully? Is it a regression?
Read-only filesystem
That makes sense - crate currently generates .rs
files for the MCU cores in the build.rs
script ) (https://github.com/avr-rust/avrd/blob/3e75477d29568e539b13e8c17dea2f2658044eef/build.rs#L29). It is discouraged to generate sources at runtime.
The best solution here would be to adapt the build.rs
script into a script that can be run by the crate maintainers to update the autogenerated MCU core files so that they can be added into version control permanently. This will also make crate compilation much faster.
Plenty of crates Use build scripts to generate source code, so I don’t know why this would be a problem.
Plenty of crates Use build scripts to generate source code, so I don’t know why this would be a problem.
As far as I know, only OUT_DIR is writable.