Merge branch 'revert_ub_workaround' into 'master'
Revert "Add a workaround for UB on arm64" See merge request redox-os/relibc!644
This commit is contained in:
@@ -647,10 +647,6 @@ impl MmapGuard {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
// Without this inline(never), UB somewhere causes the flags to be set to 0 on arm64.
|
||||
// FIXME Find the UB and fix it
|
||||
#[inline(never)]
|
||||
pub unsafe fn map_mut_anywhere<'a>(
|
||||
fd: usize,
|
||||
offset: usize,
|
||||
|
||||
Reference in New Issue
Block a user