follow the C abi for effect functions the host exposes

This commit is contained in:
Folkert 2021-08-25 16:28:21 +02:00
parent 12fb36d1df
commit 8846841a95
5 changed files with 175 additions and 69 deletions

View file

@ -265,6 +265,8 @@ pub fn gen_from_mono_module(
.expect("Writing .o file failed");
}
Architecture::Wasm32 => {
// Useful for debugging
// module.print_to_file(app_ll_file);
module.write_bitcode_to_path(app_o_file);
}
_ => panic!(