Update imports for lua example

This commit is contained in:
Brandon Fish
2019-01-26 17:02:51 -06:00
parent f273823abd
commit 12def9da25
8 changed files with 88 additions and 20 deletions

View File

@ -12,6 +12,16 @@ pub extern "C" fn _llvm_log2_f64(value: f64, _ctx: &mut Ctx) -> f64 {
value.log2()
}
pub extern "C" fn _llvm_log10_f32(value: f64, _ctx: &mut Ctx) -> f64 {
debug!("emscripten::_llvm_log10_f32");
unimplemented!()
}
pub extern "C" fn _llvm_log2_f32(value: f64, _ctx: &mut Ctx) -> f64 {
debug!("emscripten::_llvm_log10_f32");
unimplemented!()
}
// emscripten: f64-rem
pub extern "C" fn f64_rem(x: f64, y: f64, _ctx: &mut Ctx) -> f64 {
debug!("emscripten::f64-rem");