git2-rs icon indicating copy to clipboard operation
git2-rs copied to clipboard

tests fail on M1

Open kkharji opened this issue 4 years ago • 0 comments

Hey there, I've been trying for the past few hours to figure out this one but couldn't solve it on my own. Basically running

cargo test

result in

running 156 tests
test attr::tests::attr_value_always_bytes ... ok
test attr::tests::attr_value_from_string ... ok
test attr::tests::attr_value_from_bytes ... ok
test attr::tests::attr_value_partial_eq ... ok
dyld: lazy symbol binding failed: Symbol not found: ___aarch64_ldadd4_acq_rel
  Referenced from: /private/tmp/git2-rs/target/debug/deps/git2-72ec4e13db094535
  Expected in: flat namespace

dyld: Symbol not found: ___aarch64_ldadd4_acq_rel
  Referenced from: /private/tmp/git2-rs/target/debug/deps/git2-72ec4e13db094535
  Expected in: flat namespace

error: test failed, to rerun pass '--lib'

Caused by:
  process didn't exit successfully: `/private/tmp/git2-rs/target/debug/deps/git2-72ec4e13db094535` (signal: 6, SIGABRT: process abort signal)

kkharji avatar Oct 14 '21 00:10 kkharji