Skip to content

Revert "String parsing for char[]" (#376) #818

Revert "String parsing for char[]" (#376)

Revert "String parsing for char[]" (#376) #818

Triggered via push August 22, 2025 04:30
Status Success
Total duration 23m 28s
Artifacts

test.yml

on: push
Matrix: internal-tests
Matrix: msrv
test-embedded-size
30s
test-embedded-size
Fit to window
Zoom out
Zoom in

Annotations

4 warnings and 2 notices
this looks like an `else if` but the `else` is missing: target/debug/build/mavlink-67aa21e354663303/out/ardupilotmega.rs#L1
warning: this looks like an `else if` but the `else` is missing --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-67aa21e354663303/out/ardupilotmega.rs:1:778461 | 1 | ...es, but got {})" , Self :: ENCODED_LEN , __tmp . remaining () ,) } if matches ! (version , MavlinkVersion :: V2) { let len = __tmp . l... | ^ | = note: to remove this lint, add the missing `else` or add a new line before the second `if` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#possible_missing_else
this looks like an `else if` but the `else` is missing: target/debug/build/mavlink-67aa21e354663303/out/ardupilotmega.rs#L1
warning: this looks like an `else if` but the `else` is missing --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-67aa21e354663303/out/ardupilotmega.rs:1:673576 | 1 | ...es, but got {})" , Self :: ENCODED_LEN , __tmp . remaining () ,) } if matches ! (version , MavlinkVersion :: V2) { let len = __tmp . l... | ^ | = note: to remove this lint, add the missing `else` or add a new line before the second `if` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#possible_missing_else = note: `#[warn(clippy::possible_missing_else)]` on by default
the borrowed expression implements the required traits: mavlink-bindgen/src/lib.rs#L101
warning: the borrowed expression implements the required traits --> mavlink-bindgen/src/lib.rs:101:67 | 101 | bindings.push(generate_single_file(&entry.path(), &destination_dir)?); | ^^^^^^^^^^^^^^^^ help: change this to: `destination_dir` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
the borrowed expression implements the required traits: mavlink-bindgen/src/lib.rs#L101
warning: the borrowed expression implements the required traits --> mavlink-bindgen/src/lib.rs:101:52 | 101 | bindings.push(generate_single_file(&entry.path(), &destination_dir)?); | ^^^^^^^^^^^^^ help: change this to: `entry.path()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
build (macos-latest, x86_64-apple-darwin, --features ardupilotmega)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (windows-latest, x86_64-pc-windows-msvc, --features ardupilotmega)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677