We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11db50c commit 2f5847dCopy full SHA for 2f5847d
runtime/wasm/unix.wat
@@ -1551,7 +1551,7 @@
1551
(tuple.extract 3 1 (local.get $p))
1552
(tuple.extract 3 2 (local.get $p))
1553
(i32.const 0)
1554
- (i64.const 0x400000) ;; allow fd_filestat_set_size
+ (i64.const 0x400040) ;; allow fd_filestat_set_size and fd_write
1555
(i64.const 0)
1556
1557
(local.get $buffer)))
@@ -2391,7 +2391,7 @@
2391
(local.set $kind (i32.load8_u offset=16 (local.get $buffer)))
2392
(block $ok
2393
(block $bad
2394
- (br_table $bad $bad $ok $bad $ok $bad $ok $bad (local.get $kind)))
+ (br_table $ok $bad $ok $bad $ok $bad $ok $bad (local.get $kind)))
2395
(call $caml_unix_error
2396
(i32.const 28) (; EINVAL ;)
2397
(call $channel_of_descr_name (local.get $out))
0 commit comments