diff options
| author | Andre Richter <andre.o.richter@gmail.com> | 2019-02-01 22:11:40 +0100 |
|---|---|---|
| committer | Andre Richter <andre.o.richter@gmail.com> | 2019-02-01 22:11:40 +0100 |
| commit | c4e46140f6a295d2d668ccc5bf25858233b11cbb (patch) | |
| tree | 2aa33e64d46940e104b823e7927bfe8ea4218fef /src/libsyntax/parse | |
| parent | 23d8d0c319c37287657280bde61816d297f966d8 (diff) | |
| download | rust-c4e46140f6a295d2d668ccc5bf25858233b11cbb.tar.gz rust-c4e46140f6a295d2d668ccc5bf25858233b11cbb.zip | |
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
