You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running a simple cargo build from the latest main (and libsql-server-v0.24.31) results in the following error:
error[E0425]: cannot find function `size_of` in this scope
--> libsql-wal/src/shared_wal.rs:419:80
|
419 | let buf = unsafe { ZeroCopyBoxIoBuf::new_uninit_partial(frame, size_of::<FrameHeader>()) };
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use core::mem::size_of;
|
1 + use std::mem::size_of;
Importing use std::mem::size_of; in shared_wal.rs seems to allow the build to complete. I'm not a rust dev and I don't really understand the difference between the two imports, so I figured I'd open an issue rather than a pull request.
EDIT: Running latest docker almalinux:9-minimal (eec681af155e) on linux/arm64
The text was updated successfully, but these errors were encountered:
Running a simple
cargo build
from the latestmain
(andlibsql-server-v0.24.31
) results in the following error:Importing
use std::mem::size_of;
inshared_wal.rs
seems to allow the build to complete. I'm not a rust dev and I don't really understand the difference between the two imports, so I figured I'd open an issue rather than a pull request.EDIT: Running latest docker
almalinux:9-minimal
(eec681af155e
) onlinux/arm64
The text was updated successfully, but these errors were encountered: