Skip to content

rio 0.1.12 fails to build on cross targets #656

Description

@tranzystorekk

Found when building rio for Void Linux https://github.com/void-linux/void-packages/actions/runs/10758124870/job/29833009268?pr=52138

error[E0308]: mismatched types
   --> rio-window/src/platform_impl/linux/x11/ime/context.rs:175:13
    |
175 | /             mem::transmute::<
176 | |                 usize,
177 | |                 unsafe extern "C" fn(*mut x11_dl::xlib::_XIM, *mut i8, *mut i8),
178 | |             >(preedit_start_callback as usize)
    | |______________________________________________^ expected `u8`, found `i8`
    |
    = note: expected fn pointer `unsafe extern "C" fn(_, *mut u8, *mut u8)`
               found fn pointer `unsafe extern "C" fn(_, *mut i8, *mut i8)`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions