Skip to content

Use SyncUnsafeCell to replace use of static mut #1510

Use SyncUnsafeCell to replace use of static mut

Use SyncUnsafeCell to replace use of static mut #1510

Triggered via pull request December 30, 2024 11:18
Status Failure
Total duration 53s
Artifacts

clippy.yml

on: pull_request
clippy_check
45s
clippy_check
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
raw address of syntax is experimental: examples/sai_dma_passthru.rs#L232
error[E0658]: raw address of syntax is experimental --> examples/sai_dma_passthru.rs:232:33 | 232 | SyncUnsafeCell::raw_get(&raw const TRANSFER_DMA1_STR1) | ^^^^^^^^^^ | = note: see issue #64490 <https://github.com/rust-lang/rust/issues/64490> for more information
raw address of syntax is experimental: examples/sai_dma_passthru.rs#L254
error[E0658]: raw address of syntax is experimental --> examples/sai_dma_passthru.rs:254:43 | 254 | &mut *SyncUnsafeCell::raw_get(&raw const TRANSFER_DMA1_STR1) | ^^^^^^^^^^ | = note: see issue #64490 <https://github.com/rust-lang/rust/issues/64490> for more information
clippy_check
Clippy has exited with exit code 101
clippy_check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636