fix zig for wasm platform switching

This commit is contained in:
Brendan Hansknecht 2023-04-26 07:18:56 -07:00
parent 031a16168a
commit 2602e37728
No known key found for this signature in database
GPG Key ID: 0EA784685083E75B

View File

@ -49,7 +49,7 @@ pub fn main() u8 {
roc__mainForHost_1_exposed(&callresult);
// display the result using JavaScript
js_display_roc_string(callresult.asU8ptr(), callresult.len());
js_display_roc_string(callresult.asU8ptrMut(), callresult.len());
callresult.decref();