Open FrankReh opened 6 days ago
The change may be as simple as changing the type. Seems to be what occurred in the 02a1d481 commit to region
.
This seems to make the compiler happy. Still working out other test issues on OpenBSD so am not sure.
- let alloc_size = region::page::ceil(size);
+ let alloc_size = region::page::ceil(size as *const ()) as usize;
region
2.2.0 is from four years ago. Don't know if it was intended to compile on OpenBSD back then but it doesn't today.The most recent version is 3.0.2 and it does compile for OpenBSD 7.5. But some things about the API have changed and trying to call
cargo test --release
onwasmtime
fails to compile: