mirror of
https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials.git
synced 2024-11-03 15:40:21 +00:00
0d75a8eaf3
We have a generic target for writing bare-metal code for 64-bit ARM architectures in upstream Rust now. Use it to get rid of the fully custom target spec. \o/
7 lines
145 B
Plaintext
7 lines
145 B
Plaintext
[target.aarch64-unknown-none]
|
|
rustflags = [
|
|
"-C", "link-arg=-Tlink.ld",
|
|
"-C", "target-feature=-fp-armv8",
|
|
"-C", "target-cpu=cortex-a53",
|
|
]
|