| author | |
| committer | |
| log | 65d36be4a80c45897b344e10cc7e63daafcab9fb |
| tree | b114194c7eeed34bd1040370d8f76b5af9fc09ef |
| parent | f9455511faba40ad719fa0e6897ea09ac5fb9d23 |
| signature |
https://github.com/llvm/llvm-project/issues/1059781 files changed, 6 insertions(+), 0 deletions(-)
lib/std/zig/system.zig+6| ... | ... | @@ -384,6 +384,12 @@ pub fn resolveTargetQuery(query: Target.Query) DetectError!Target { |
| 384 | 384 | query.cpu_features_add, |
| 385 | 385 | query.cpu_features_sub, |
| 386 | 386 | ); |
| 387 | ||
| 388 | // https://github.com/llvm/llvm-project/issues/105978 | |
| 389 | if (result.cpu.arch.isArmOrThumb() and result.floatAbi() == .soft) { | |
| 390 | result.cpu.features.removeFeature(@intFromEnum(Target.arm.Feature.vfp2)); | |
| 391 | } | |
| 392 | ||
| 387 | 393 | return result; |
| 388 | 394 | } |
| 389 | 395 |