about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-02-02 04:06:11 +0000
committerbors <bors@rust-lang.org>2019-02-02 04:06:11 +0000
commit4af96aeceb15067d41041897ecc1af117480a228 (patch)
tree11dba1e3f03945671c9f06989f13965666a11ea0 /src/libsyntax/parse
parent2efa31b2d9bf171fecd294b8e0126d8ffdb453e3 (diff)
parentc4e46140f6a295d2d668ccc5bf25858233b11cbb (diff)
downloadrust-4af96aeceb15067d41041897ecc1af117480a228.tar.gz
rust-4af96aeceb15067d41041897ecc1af117480a228.zip
Auto merge of #58060 - andre-richter:master, r=nagisa
targets: aarch64-unknown-none: Add +strict-align

On AArch64, an unaligned access causes a synchronous exception. In the current
state of the target, the compiler might generate unaligned accesses, see
https://github.com/rust-embedded/rust-raspi3-tutorial/issues/10.

Since this is a bare-metal target, it is possible that there is no exception
handling in place (yet) to recover from this case, causing a binary to just
silently fail.

Add `+strict-align` to avoid this case.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions