Repository navigation
Commit 13dbe5b
committed
[rust][tools] Fix Cortex-M33 hard-float target selection
detect_rust_target() 的 Cortex-M33 分支固定返回 thumbv8m.main-none-eabi,
没有使用同函数已计算的 hard_float,而 M4/M7 分支是判断的。
硬浮点 M33 板卡因此拿到软浮点 ABI 的 Rust 库,链接时报
"uses VFP register arguments" 并终止构建。
按 hard_float 选择 eabihf/eabi,与 M4/M7 分支保持一致。1 parent ed686ba commit 13dbe5b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments