mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Add a note about using build_cast
This commit is contained in:
parent
d93429131e
commit
9aba6ff22e
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
// TODO replace this with a normal Inkwell build_cast call - this was just
|
||||
// used as a proof of concept for getting bitcode importing working!
|
||||
|
||||
#[no_mangle]
|
||||
pub fn i64_to_f64_(num: i64) -> f64 {
|
||||
num as f64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue