Arm fails to compile #19
able
commented 2024-05-05 11:12:43 -05:00
Owner
```
error[E0069]: `return;` in a function whose return type is not `()`
--> /home/able/.cargo/git/checkouts/holey-bytes-d8b90e524a790b7d/247b2c6/hbvm/src/float/aarch64.rs:13:21
|
9 | $vis fn $name(val: $from, mode: RoundingMode) -> $to {
| --- expected `$to` because of this return type
...
13 | return;
| ^^^^^^ return type is not `()`
...
40 | / fnsdef! {
41 | | /// Convert [`f64`] to [`f32`] with chosen rounding mode
42 | | pub fn conv64to32[vreg -> vreg](f64 -> f32): "fcvt {:s}, {:d}";
43 | |
... |
48 | | pub fn f64toint[vreg -> reg](f64 -> i64): "fcvtzs {}, {:d}";
49 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `fnsdef` (in Nightly builds, run with -Z macro-backtrace for more info)
```
able
added the 2024-05-05 11:12:43 -05:00
I-bug
label
erin
was assigned by able 2024-05-05 11:12:43 -05:00
able
closed this issue 2024-11-18 06:28:14 -06:00
Labels
No labels
I-bug
I-enhancement
S-bug
S-proposal
bikeshedding
help-wanted
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AbleOS/holey-bytes#19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?