stefson opened Issue #2315:
I checked out latest git and compiled with rust-1.45.2 and got this error:
error[E0308]: mismatched types --> crates/runtime/src/traphandlers.rs:156:52 | 156 | unsafe fn get_pc(cx: *mut libc::c_void) -> *const u8 { | ------ ^^^^^^^^^ expected *-ptr, found `()` | | | implicitly returns `()` as its body has no tail or `return` expression | = note: expected raw pointer `*const u8` found unit type `()` error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0308`. error: could not compile `wasmtime-runtime`.
there's also another error, which is fully suspected as armv7 isn't fully implemented yet:
error: unsupported platform --> crates/runtime/src/traphandlers.rs:174:21 | 174 | compile_error!("unsupported platform"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
verbose error log: verbose-error.zip
stefson labeled Issue #2315:
I checked out latest git and compiled with rust-1.45.2 and got this error:
error[E0308]: mismatched types --> crates/runtime/src/traphandlers.rs:156:52 | 156 | unsafe fn get_pc(cx: *mut libc::c_void) -> *const u8 { | ------ ^^^^^^^^^ expected *-ptr, found `()` | | | implicitly returns `()` as its body has no tail or `return` expression | = note: expected raw pointer `*const u8` found unit type `()` error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0308`. error: could not compile `wasmtime-runtime`.
there's also another error, which is fully suspected as armv7 isn't fully implemented yet:
error: unsupported platform --> crates/runtime/src/traphandlers.rs:174:21 | 174 | compile_error!("unsupported platform"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
verbose error log: verbose-error.zip
stefson commented on Issue #2315:
I'm doing this test compile every once in a while to stop the code base from decaying further, making it even more difficult to work on it in the future and maybe implement full armv7 support. Sadly, I'm unable to fix this on my own as I don't speak that much rust, but I can offter to test any provided patch.
stefson edited Issue #2315:
I checked out latest git, compiled it with rust-1.45.2 and got this error:
error[E0308]: mismatched types --> crates/runtime/src/traphandlers.rs:156:52 | 156 | unsafe fn get_pc(cx: *mut libc::c_void) -> *const u8 { | ------ ^^^^^^^^^ expected *-ptr, found `()` | | | implicitly returns `()` as its body has no tail or `return` expression | = note: expected raw pointer `*const u8` found unit type `()` error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0308`. error: could not compile `wasmtime-runtime`.
there's also another error, which is expected as armv7 isn't fully implemented yet:
error: unsupported platform --> crates/runtime/src/traphandlers.rs:174:21 | 174 | compile_error!("unsupported platform"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
verbose error log: verbose-error.zip
Last updated: Nov 22 2024 at 17:03 UTC