mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
revert wasm_linking_test_host changes
This commit is contained in:
parent
de18f25a65
commit
6ecf25bd3e
1 changed files with 2 additions and 4 deletions
|
@ -33,7 +33,7 @@ export fn read_host_result() i32 {
|
|||
return host_result;
|
||||
}
|
||||
|
||||
pub export fn main() u8 {
|
||||
pub fn main() !void {
|
||||
const host = host_called_directly_from_main();
|
||||
const js = js_called_directly_from_main();
|
||||
const app = roc__app_proc_1_exposed();
|
||||
|
@ -44,8 +44,6 @@ pub export fn main() u8 {
|
|||
|
||||
if (@import("builtin").target.cpu.arch != .wasm32) {
|
||||
const stdout = @import("std").io.getStdOut().writer();
|
||||
stdout.print("{}\n", .{host_result}) catch return 1;
|
||||
try stdout.print("{}\n", .{host_result});
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue