Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aarch64 call abi does not zeroext (and one cannot assume it does so) #97800

Merged
Prev Previous commit
Next Next commit
fix typo, thanks wesley
Co-authored-by: Wesley Wiser <wwiser@gmail.com>
  • Loading branch information
pnkfelix and wesleywiser authored Aug 4, 2022
commit 99c0f91a4dd235824c353a11a2e75c462c9bbb74
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fn main() {
let value: u16 = unsafe { c_read_value(r1 as u32, r2 as u32, r3 as u32) };

// NOTE: as an example of the sensitivity of this test to optimization choices,
// uncommenting this block of code makes the bug go away on pnkfeix's machine.
// uncommenting this block of code makes the bug go away on pnkfelix's machine.
// (But observing via `dbg!` doesn't hide the bug. At least sometimes.)
/*
println!("{}", value);
Expand Down