mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +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)]
|
#[cfg(baremetal)]
|
||||||
unsafe {
|
unsafe {
|
||||||
f(&mut SWAP)
|
f(&mut *core::ptr::addr_of_mut!(SWAP))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(baremetal))]
|
#[cfg(not(baremetal))]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue