add todo comment

This commit is contained in:
Folkert 2021-01-18 02:00:05 +01:00
parent c136bed955
commit 31bf658b20
2 changed files with 3 additions and 2 deletions

View file

@ -80,7 +80,7 @@ unsafe fn call_the_closure(function_pointer: *const u8, closure_data_ptr: *const
#[no_mangle]
pub fn rust_main() -> isize {
println!("Running Roc closure");
eprintln!("Running Roc closure");
let start_time = SystemTime::now();
let size = unsafe { roc_main_size() } as usize;
@ -121,7 +121,7 @@ pub fn rust_main() -> isize {
let end_time = SystemTime::now();
let duration = end_time.duration_since(start_time).unwrap();
println!(
eprintln!(
"Roc closure took {:.4} ms to compute this answer: {:?}",
duration.as_secs_f64() * 1000.0,
// truncate the answer, so stdout is not swamped