ownership

This commit is contained in:
Folkert 2022-08-07 00:12:39 +02:00
parent 9d057a1227
commit 98708d689e
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -97,7 +97,7 @@ fn wasmer_create_app(app_bytes_ptr: u32, app_bytes_len: u32) -> u32 {
println!("Failed to create Wasm module\n{:?}", e);
if false {
let path = std::env::temp_dir().join("roc_repl_test_invalid_app.wasm");
fs::write(path, app_module_bytes).unwrap();
fs::write(&path, app_module_bytes).unwrap();
println!("Wrote invalid wasm to {:?}", path);
}
return false.into();