You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use kani, but it fails to build one of my dependencies (needletail), even though cargo build runs fine.
Step to reproduce:
git clone https://github.com/onecodex/needletail
cd needletail
cargo build # OK
However, kani fails to build:
cargo kani
# Kani Rust Verifier 0.57.0 (cargo plugin)# [...]# error: linking with `cc` failed: exit status: 1# = note: rust-lld: error: version script assignment of 'global' to symbol 'bz_internal_error' failed: symbol not defined
collect2: error: ld returned 1 exit# error: could not compile `needletail` (lib) due to 1 previous error# error: Failed to execute cargo (exit status: 101). Found 1 compilation errors.
Note: when I remove bzip2 from the dependencies of needletail, kani works fine, but I don't need to do it for cargo build.
Is there a difference in linking between cargo build and cargo kani?
The text was updated successfully, but these errors were encountered:
I would like to use kani, but it fails to build one of my dependencies (
needletail
), even thoughcargo build
runs fine.Step to reproduce:
However, kani fails to build:
Note: when I remove
bzip2
from the dependencies ofneedletail
, kani works fine, but I don't need to do it forcargo build
.Is there a difference in linking between
cargo build
andcargo kani
?The text was updated successfully, but these errors were encountered: