mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
12 lines
376 B
Rust
12 lines
376 B
Rust
// NOTE: Editing this file on its own does nothing! The procedure for
|
|
// incorporating changes here is in this crate' README.
|
|
|
|
#![crate_type = "lib"]
|
|
#![no_std]
|
|
|
|
/// 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
|
|
}
|