-
Notifications
You must be signed in to change notification settings - Fork 15
error[E0308]: mismatched types on aarch64 #545
Copy link
Copy link
Open
Description
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/devel/nextest/work/nextest-cargo-nextest-0.9.130/cargo-crates/usdt-impl-0.6.0/src/no-linker.rs:168:49
|
166 | modname[i] = byte as i8;
| ------- here the type of `modname` is inferred to be `[i8; 64]`
167 | }
168 | ioctl_section(&serialize_section(§ion), modname)
| ------------- ^^^^^^^ expected `[u8; 64]`, found `[i8; 64]`
| |
| arguments to this function are incorrect
|
= note: expected array `[u8; 64]`
found array `[i8; 64]`
note: function defined here
--> /wrkdirs/usr/ports/devel/nextest/work/nextest-cargo-nextest-0.9.130/cargo-crates/usdt-impl-0.6.0/src/no-linker.rs:171:4
|
171 | fn ioctl_section(buf: &[u8], modname: [std::os::raw::c_char; 64]) -> Result<(), crate::Error> {
| ^^^^^^^^^^^^^ -----------------------------------
FreeBSD 16
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.