rust-weechat
rust-weechat copied to clipboard
Not building on 32bit
Idk if it's even supported, but here's the log just in case:
Compiling weechat v0.4.0 (https://github.com/poljar/rust-weechat#8209460a) Compiling ruma v0.7.3 Compiling matrix-sdk-common v0.6.0 error[E0308]: mismatched types --> /home/user/.cargo/git/checkouts/rust-weechat-4239b35d876f5f87/8209460/weechat/src/hdata.rs:53:9 | 49 | ) -> i64 { | --- expected
i64
because of return type ... 53 | hdata_time(hdata, pointer, name.as_ptr()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expectedi64
, foundi32
| help: you can convert ani32
to ani64
| 53 | hdata_time(hdata, pointer, name.as_ptr()).into() | +++++++ error[E0308]: mismatched types --> /home/user/.cargo/git/checkouts/rust-weechat-4239b35d876f5f87/8209460/weechat/src/buffer/mod.rs:812:17 | 810 | printf_date_tags( | ---------------- arguments to this function are incorrect 811 | self.ptr(), 812 | date, | ^^^^ expectedi32
, foundi64
| help: you can convert ani64
to ani32
and panic if the converted value doesn't fit | 812 | date.try_into().unwrap(), | ++++++++++++++++++++ error[E0308]: mismatched types --> /home/user/.cargo/git/checkouts/rust-weechat-4239b35d876f5f87/8209460/weechat/src/hooks/timer.rs:129:17 | 127 | hook_timer( | ---------- arguments to this function are incorrect 128 | weechat.ptr, 129 | interval.as_millis() as i64, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expectedi32
, foundi64
| help: you can convert ani64
to ani32
and panic if the converted value doesn't fit | 129 | (interval.as_millis() as i64).try_into().unwrap(), | + +++++++++++++++++++++ For more information about this error, tryrustc --explain E0308
. error: could not compileweechat
due to 3 previous errors warning: build failed, waiting for other jobs to finish...
and as a picture, because github messed up the whitespaces