gnzlbg / ctest

Automatic testing of FFI bindings for Rust
https://docs.rs/ctest
Apache License 2.0
122 stars 29 forks source link

Fails to build on nightly #97

Open wez opened 4 years ago

wez commented 4 years ago

The build (for ssh2's tests) is failing on nightly rust because of the extprim transitive dep via the unmaintained syntex crate. Can this dependency be replaced?

error: legacy asm! syntax is no longer supported
   --> C:\Users\wez\.cargo\registry\src\github.com-1ecc6299db9ec823\extprim-1.7.0\src\u128.rs:884:9
    |
884 |           asm!("
    |           ^---
    |           |
    |  _________help: replace with: `llvm_asm!`
    | |
885 | |             movq $2, %rax
886 | |             mulq $3
887 | |             movq %rax, $0
...   |
891 | |         : "r"(left), "r"(right)
892 | |         : "rax", "rdx");
    | |________________________^

error: aborting due to previous error

error: could not compile `extprim`.
sagebind commented 4 years ago

Here's the extprim PR: https://github.com/kennytm/extprim/pull/18. It hasn't been published yet though: https://github.com/kennytm/extprim/issues/19.