The SystemZ `LALR` instruction provides PC-relative addressing for globals, but only to *even* addresses, so other compilers make sure that such globals are always 2-byte aligned. In Clang, this is modeled with `TargetInfo::MinGlobalAlign`, and `TargetOptions::min_global_align` now serves the same purpose for rustc. In Clang, the only targets that set this are SystemZ, Lanai, and NVPTX, and the latter two don't have targets in rust master. |
||
|---|---|---|
| .. | ||
| target | ||
| build.rs | ||
| Cargo.toml | ||
| dynamic_lib.rs | ||
| lib.rs | ||
| slice.rs | ||
| tempdir.rs | ||