Closed messense closed 1 year ago
[2023-02-12T02:14:05.079Z] Updating git repository `[https://github.com/rust-lang/cmake-rs`](https://github.com/rust-lang/cmake-rs%60)
[2023-02-12T02:14:06.017Z] Updating crates.io index
[2023-02-12T02:15:13.714Z] error: failed to get `libc` as a dependency of package `rocksdb v0.3.0 (/home/jenkins/agent/workspace/rust_rocksdb_ghpr_test/rust-rocksdb)`
[2023-02-12T02:15:13.714Z]
[2023-02-12T02:15:13.714Z] Caused by:
[2023-02-12T02:15:13.714Z] failed to load source for dependency `libc`
[2023-02-12T02:15:13.714Z]
[2023-02-12T02:15:13.714Z] Caused by:
[2023-02-12T02:15:13.714Z] Unable to update registry `crates-io`
[2023-02-12T02:15:13.714Z]
[2023-02-12T02:15:13.714Z] Caused by:
[2023-02-12T02:15:13.714Z] failed to fetch `[https://github.com/rust-lang/crates.io-index`](https://github.com/rust-lang/crates.io-index%60)
[2023-02-12T02:15:13.714Z]
[2023-02-12T02:15:13.714Z] Caused by:
[2023-02-12T02:15:13.714Z] an unknown git error occurred
The build failure is unrelated to this change.
Fixes https://github.com/rust-cross/cargo-zigbuild/issues/88
See also https://kazlauskas.me/entries/writing-proper-buildrs-scripts
cc @jiacai2050