Skip to content

chore: minor code clean up #37

chore: minor code clean up

chore: minor code clean up #37

Triggered via push January 1, 2024 16:06
Status Failure
Total duration 28s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 warnings
build: examples/hardfault.rs#L32
failed to resolve: could not find `interrupt` in `qingke_rt`
build: examples/hardfault.rs#L42
failed to resolve: could not find `interrupt` in `qingke_rt`
build: examples/adc_temp.rs#L62
expected function, found `Adc<'_, ch58x_hal::peripherals::ADC>`
build: examples/adc_temp.rs#L67
expected function, found `Adc<'_, ch58x_hal::peripherals::ADC>`
build: examples/hardfault.rs#L92
field `ienr1` of struct `ch58x_hal::pac::pfic::RegisterBlock` is private
build
Process completed with exit code 101.
build: src/ble/mod.rs#L12
unused import: `println`
build: src/ble/gatt.rs#L4
unused import: `core::ptr`
build: src/interrupt.rs#L1
unused imports: `Ordering`, `compiler_fence`
build: src/interrupt.rs#L6
unused import: `crate::pac::__EXTERNAL_INTERRUPTS as _`
build: src/interrupt.rs#L177
constant `PRIO_MASK` is never used
build: src/ble/ffi.rs#L230
`extern` block uses type `Result<(), NonZeroU8>`, which is not FFI-safe
build: src/ble/ffi.rs#L252
`extern` block uses type `Result<(), NonZeroU8>`, which is not FFI-safe
build: src/ble/ffi.rs#L254
`extern` block uses type `Result<(), NonZeroU8>`, which is not FFI-safe
build: src/ble/ffi.rs#L256
`extern` block uses type `Result<(), NonZeroU8>`, which is not FFI-safe
build: src/ble/ffi.rs#L258
`extern` block uses type `Result<(), NonZeroU8>`, which is not FFI-safe