Closed Shadow53 closed 3 years ago
I can confirm this issue with a native compile. rustc 1.45.2 (d3fb005a3 2020-07-31)
Can conform this as well , seems to fail on aarch64 and armv7l (both glibc and musl)
error[E0308]: mismatched types
--> src/citeproc/bibutils.rs:108:17
|
108 | program.as_ptr() as *mut i8,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
|
= note: expected raw pointer `*mut u8`
found raw pointer `*mut i8`
error[E0308]: mismatched types
--> src/citeproc/bibutils.rs:161:13
|
161 | input_file.path.as_ptr() as *mut i8,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
|
= note: expected raw pointer `*mut u8`
found raw pointer `*mut i8`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0308`.
error: could not compile `texlab`.
https://travis-ci.org/github/void-linux/void-packages/builds/734574435
This seems to be fixed a long time ago by https://github.com/latex-lsp/texlab/pull/298.
My OnePlus 7 Pro is set up with an openSUSE chroot inside of Termux. Attempting to build texlab results in the following error (unrelated output trimmed away):