Fixed: Actually calling llvm we generate

This commit is contained in:
Joshua Hoeflich 2021-08-14 18:20:11 -05:00
parent ce8f947522
commit 744fefc3a1
4 changed files with 5 additions and 4 deletions

View file

@ -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;
}