mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix warnings from rust 1.77.0 upgrade
This commit is contained in:
parent
2d68807d51
commit
cc49867403
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ impl Swap {
|
|||
{
|
||||
#[cfg(baremetal)]
|
||||
unsafe {
|
||||
f(&mut SWAP)
|
||||
f(&mut *core::ptr::addr_of_mut!(SWAP))
|
||||
}
|
||||
|
||||
#[cfg(not(baremetal))]
|
||||
|
|
|
|||
Loading…
Reference in a new issue