Using cargo-tarpaulin 0.31.4 using binstall on Ubuntu 22.04 may result in errors like the following:
cargo-tarpaulin: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by cargo-tarpaulin)
cargo-tarpaulin: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by cargo-tarpaulin)
I resolved the issue by avoiding binstall
. Instead of running:
I resolved the issue by avoiding
binstall
. Instead of running
> cargo binstall cargo-tarpaulin
I used the following command:
> cargo insatall cargo-tarpaulin
While this installation method is significantly slower, it successfully resolves the issue.
I suspect similar problems could arise with other Rust libraries when using binstall.
Nenhum comentário:
Postar um comentário