Use SyncUnsafeCell to replace use of static mut
#1510
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
|