mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Fixed: Actually calling llvm we generate
This commit is contained in:
parent
ce8f947522
commit
744fefc3a1
4 changed files with 5 additions and 4 deletions
|
@ -25,9 +25,9 @@ pub fn asin(num: f64) callconv(.C) f64 {
|
|||
/// TODO: Obviously, this should not be an alias for arcsin(x);
|
||||
/// fix me!
|
||||
pub fn bytesToU16C(num: f64) callconv(.C) f64 {
|
||||
return @call(.{ .modifier = always_inline }, bytesToU16, .{num});
|
||||
return num + 1;
|
||||
}
|
||||
|
||||
fn bytesToU16(num: f64) f64 {
|
||||
return math.asin(num);
|
||||
return num + 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue