alexcrichton / curl-rust

Rust bindings to libcurl
MIT License
1.02k stars 235 forks source link

systest fails to compile on latest nightly #337

Closed sagebind closed 4 years ago

sagebind commented 4 years ago

Running cargo +nightly run -p systest fails to compile:

error: legacy asm! syntax is no longer supported
   --> /Users/scoakley/.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`.

CI is currently broken on nightly because of this. It looks like extprim, a dependency of ctest, has merged a fix for this but it hasn't been published to crates.io yet: https://github.com/kennytm/extprim/issues/19