Skip to content

Commit

Permalink
add llvm_floatabi to armv7a-vex-v5 spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Tropix126 committed Jan 2, 2025
1 parent 835338e commit 5664a00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion compiler/rustc_target/src/spec/targets/armv7a_vex_v5.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
use crate::spec::{Cc, LinkerFlavor, Lld, PanicStrategy, RelocModel, Target, TargetOptions};
use crate::spec::{
Cc, FloatAbi, LinkerFlavor, Lld, PanicStrategy, RelocModel, Target, TargetOptions,
};

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

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

0 comments on commit 5664a00

Please sign in to comment.