]> git.lizzy.rs Git - rust.git/commit
Differentiate AArch64 bare-metal targets between hf and non-hf.
authorAndre Richter <andre.o.richter@gmail.com>
Wed, 18 Sep 2019 13:38:02 +0000 (15:38 +0200)
committerAndre Richter <andre.o.richter@gmail.com>
Mon, 23 Sep 2019 12:15:49 +0000 (14:15 +0200)
commitd2762acb8ce945670ee2249149a5757991591e85
tree29dfe9458aabd81674d3ccc316723556b0a47fc2
parent64c09694a6ecc434cd3a61ade89beb1de17770c5
Differentiate AArch64 bare-metal targets between hf and non-hf.

Following up on [1] and [2], this PR adds differntiation for aarch64 bare-metal
targets between versions with and without hardware floating point enabled.

This streamlines the target naming with other existing ARM targets and provides
the user clear indication if he is getting float or non-float for his bare-metal
target.

[1] https://github.com/rust-lang/rust/pull/60135#issuecomment-485851356
[2] https://github.com/rust-embedded/wg/issues/230

Closes: rust-embedded/wg#230
src/librustc_target/spec/aarch64_unknown_none.rs
src/librustc_target/spec/aarch64_unknown_none_softfloat.rs [new file with mode: 0644]
src/librustc_target/spec/mod.rs