1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-25 10:12:53 +02:00

U stands for Undefined (#2566)

This commit is contained in:
Dustin J. Mitchell
2025-01-19 22:14:33 -05:00
committed by GitHub
parent 68e1ebd865
commit 9fa1b645be

View File

@ -25,7 +25,7 @@ for all these functions.)
- Just `#[no_mangle]` would be sufficient but - Just `#[no_mangle]` would be sufficient but
[RFC3325](https://rust-lang.github.io/rfcs/3325-unsafe-attributes.html) uses [RFC3325](https://rust-lang.github.io/rfcs/3325-unsafe-attributes.html) uses
this notation to draw reviewer attention to attributes which might cause this notation to draw reviewer attention to attributes which might cause
undesired behavior if used incorrectly. undefined behavior if used incorrectly.
- `_x0`–`_x3` are the values of registers `x0`–`x3`, which are conventionally - `_x0`–`_x3` are the values of registers `x0`–`x3`, which are conventionally
used by the bootloader to pass things like a pointer to the device tree. used by the bootloader to pass things like a pointer to the device tree.
According to the standard aarch64 calling convention (which is what According to the standard aarch64 calling convention (which is what