krata: compile for aarch64 (aarch64 guests are not yet supported)

This commit is contained in:
Alex Zenla
2024-03-05 16:37:36 -08:00
parent f8e2f50c60
commit 0e27b8f228
10 changed files with 62 additions and 16 deletions

View File

@ -14,7 +14,11 @@ struct EthtoolValue {
const ETHTOOL_SGSO: u32 = 0x00000024;
const ETHTOOL_STSO: u32 = 0x0000001f;
#[cfg(not(target_env = "musl"))]
const SIOCETHTOOL: libc::c_ulong = libc::SIOCETHTOOL;
#[cfg(target_env = "musl")]
const SIOCETHTOOL: libc::c_int = libc::SIOCETHTOOL as i32;
#[repr(C)]
#[derive(Debug)]