Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64 raspi archlinux cannot build paru #1259

Open
trcrsired opened this issue Oct 11, 2024 · 2 comments
Open

aarch64 raspi archlinux cannot build paru #1259

trcrsired opened this issue Oct 11, 2024 · 2 comments

Comments

@trcrsired
Copy link

Compiling crossbeam-deque v0.8.5
error[E0308]: mismatched types
--> /home/cqwrteur/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alpm-4.0.1/src/cb.rs:244:60
|
244 | ....as_ptr(), Some(cb), &*ctx as *const _ as *mut _) };
| ---- ^^ expected fn pointer, found fn item
| |
| arguments to this enum variant are incorrect
|
= note: expected fn pointer unsafe extern "C" fn(_, _, _, *mut __va_list_tag)
found fn item extern "C" fn(_, _, _, [__va_list_tag; 1]) {logcb::<LogCbImpl<T, F>>}
help: the type constructed contains extern "C" fn(*mut c_void, u32, *const u8, [__va_list_tag; 1]) {logcb::<LogCbImpl<T, F>>} due to the type of the argument passed
--> /home/cqwrteur/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alpm-4.0.1/src/cb.rs:244:55
|
244 | ...as_ptr(), Some(cb), &*ctx as *const _ as *mut _) };
| ^^^^^--^
| |
| this argument influences the type of Some
note: tuple variant defined here
--> /rustc/eb4e2346748e1760f74fcaa27b42431e0b95f8f3/library/core/src/option.rs:579:5

@trcrsired
Copy link
Author

archlinux/alpm.rs#44

@trcrsired
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant