Stream: git-wasmtime

Topic: wasmtime / PR #1231 fix yanix compile with armv7


view this post on Zulip Wasmtime GitHub notifications bot (Mar 05 2020 at 10:51):

stefson opened PR #1231 from master to master:

this fixes the following error:

error[E0308]: try expression alternatives have incompatible types
   --> crates/wasi-common/yanix/src/file.rs:247:23
    |
247 |     let offset: i64 = Errno::from_result(libc::lseek(fd, 0, libc::SEEK_CUR))?;
    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |                       |
    |                       expected `i64`, found `i32`
    |                       help: you can convert an `i32` to `i64`: `Errno::from_result(libc::lseek(fd, 0, libc::SEEK_CUR))?.into()`

@kubkon wanted to help me a bit with his, therefore tagging you along

view this post on Zulip Wasmtime GitHub notifications bot (Mar 08 2020 at 14:11):

stefson closed without merge PR #1231.


Last updated: Nov 22 2024 at 16:03 UTC