mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Fixed aliasing in lock impl
This commit is contained in:
parent
d3d66c97ae
commit
50017b96f0
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ pub fn codegen(
|
|||
|
||||
let ptr = quote!(
|
||||
#(#cfgs)*
|
||||
(&mut *#mangled_name.get_mut()).as_mut_ptr()
|
||||
#mangled_name.get_mut() as *mut _
|
||||
);
|
||||
|
||||
let ceiling = match analysis.ownerships.get(name) {
|
||||
|
|
Loading…
Reference in a new issue