Closed VictorKoenders closed 4 years ago
docs.rs won't build our project until this is changed: https://docs.rs/crate/periodic_table/0.2.0/builds/194779
[INFO] [stderr] error: failed to run custom build command for `periodic_table v0.2.0 (/opt/rustwide/workdir)`
[INFO] [stderr]
[INFO] [stderr] Caused by:
[INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/periodic_table-402197e00f9996d5/build-script-build` (exit code: 1)
[INFO] [stderr] --- stderr
[INFO] [stderr] Error: Os { code: 30, kind: Other, message: "Read-only file system" }
Closed in #8
When deploying cargo, we get the following error:
It would be nice if the build script wrote to
OUT_DIR
, and we had a normallib.rs
that included it withinclude!(concat!(env!("OUT_DIR"), "/elements.rs"));