mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 15:27:45 +03:00
fix zig for wasm platform switching
This commit is contained in:
parent
031a16168a
commit
2602e37728
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user