瀏覽代碼

Add attribute for ARM alias

Ayrton 3 年之前
父節點
當前提交
080f1fa477
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/float/trunc.rs

+ 1 - 0
src/float/trunc.rs

@@ -112,6 +112,7 @@ where
 }
 
 intrinsics! {
+    #[arm_aeabi_alias = __aeabi_d2f]
     pub extern "C" fn __truncdfsf2(a: f64) -> f32 {
         trunc(a)
     }