mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Add builtins/bitcode/
This commit is contained in:
parent
cc555dd880
commit
081de1b4bc
7 changed files with 112 additions and 0 deletions
4
compiler/builtins/bitcode/src/lib.rs
Normal file
4
compiler/builtins/bitcode/src/lib.rs
Normal file
|
@ -0,0 +1,4 @@
|
|||
#[no_mangle]
|
||||
pub fn i64_to_f64_(num: i64) -> f64 {
|
||||
num as f64
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue