Add a note about using build_cast

This commit is contained in:
Richard Feldman 2020-03-31 23:56:09 -04:00
parent d93429131e
commit 9aba6ff22e

View file

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