wasm: print out the host path in tests

This commit is contained in:
Brian Carroll 2022-06-04 12:58:08 +02:00
parent 1d585e6732
commit d42cbd052f
No known key found for this signature in database
GPG key ID: 5C7B2EC4101703C0

View file

@ -40,6 +40,7 @@ pub fn compile_and_load<'a, T: Wasm32Result>(
) -> wasmer::Instance {
let platform_path = get_preprocessed_host_path();
let platform_bytes = std::fs::read(&platform_path).unwrap();
println!("Loading test host {}", platform_path.display());
let compiled_bytes =
compile_roc_to_wasm_bytes(arena, &platform_bytes, src, test_wrapper_type_info);