Skip to content

Commit 9f5c3f7

Browse files
committed
add llvm_floatabi to armv7a-vex-v5 spec
1 parent 08ace18 commit 9f5c3f7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compiler/rustc_target/src/spec/targets/armv7a_vex_v5.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
use crate::spec::{Cc, LinkerFlavor, Lld, PanicStrategy, RelocModel, Target, TargetOptions};
1+
use crate::spec::{
2+
Cc, FloatAbi, LinkerFlavor, Lld, PanicStrategy, RelocModel, Target, TargetOptions,
3+
};
24

35
const LINK_SCRIPT: &str = include_str!("./armv7a_vex_v5_linker_script.ld");
46

@@ -15,6 +17,7 @@ pub(crate) fn target() -> Target {
1517
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".into(),
1618
arch: "arm".into(),
1719
options: TargetOptions {
20+
llvm_floatabi: Some(FloatAbi::Hard),
1821
os: "vexos".into(),
1922
is_like_vexos: true,
2023
vendor: "vex".into(),

0 commit comments

Comments
 (0)