diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b93177..2948a6b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,8 +22,10 @@ jobs: args: '--target aarch64-apple-darwin' - platform: 'macos-latest' # for Intel based macs. args: '--target x86_64-apple-darwin' - - platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04. + - platform: 'ubuntu-24.04' # for Tauri v1 you could replace this with ubuntu-20.04. args: '' + - platform: 'ubuntu-24.04-arm' + args: '--target aarch64-unknown-linux-gnu' - platform: 'windows-latest' args: '' diff --git a/src-tauri/tailscale/src/bindings.rs b/src-tauri/tailscale/src/bindings.rs index 406961b..916280a 100644 --- a/src-tauri/tailscale/src/bindings.rs +++ b/src-tauri/tailscale/src/bindings.rs @@ -25,8 +25,7 @@ pub const __USE_XOPEN2K: u32 = 1; pub const __USE_XOPEN2K8: u32 = 1; pub const _ATFILE_SOURCE: u32 = 1; pub const __WORDSIZE: u32 = 64; -pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; -pub const __SYSCALL_WORDSIZE: u32 = 64; +pub const __WORDSIZE_TIME64_COMPAT32: u32 = 0; pub const __TIMESIZE: u32 = 64; pub const __USE_TIME_BITS64: u32 = 1; pub const __USE_MISC: u32 = 1; @@ -183,7 +182,7 @@ pub const ENOTRECOVERABLE: u32 = 131; pub const ERFKILL: u32 = 132; pub const EHWPOISON: u32 = 133; pub const ENOTSUP: u32 = 95; -pub type wchar_t = ::std::os::raw::c_int; +pub type wchar_t = ::std::os::raw::c_uint; #[repr(C)] #[repr(align(16))] #[derive(Debug, Copy, Clone)]