Skip to content

Commit 78177f7

Browse files
authored
WasmFS: Enable wasm64.test_unistd_access under wasmfs (emscripten-core#23203)
Fix the signatures of several native wasmfs exports. These are only needed/relevant under wasm64.
1 parent 9148ca0 commit 78177f7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5882,7 +5882,7 @@ def test_sigaction_default(self, signal, exit_code, assert_identical):
58825882
)
58835883

58845884
@crossplatform
5885-
@also_with_nodefs_both
5885+
@with_all_fs
58865886
def test_unistd_access(self):
58875887
nodefs = '-DNODEFS' in self.emcc_args or '-DNODERAWFS' in self.emcc_args
58885888
if self.get_setting('WASMFS'):

tools/emscripten.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,6 +1066,9 @@ def create_pointer_conversion_wrappers(metadata):
10661066
'__cxa_get_exception_ptr': 'pp',
10671067
'_wasmfs_write_file': '_ppp',
10681068
'_wasmfs_mknod': '_p__',
1069+
'_wasmfs_symlink': '_pp',
1070+
'_wasmfs_chmod': '_p_',
1071+
'_wasmfs_lchmod': '_p_',
10691072
'_wasmfs_get_cwd': 'p_',
10701073
'_wasmfs_identify': '_p',
10711074
'_wasmfs_read_file': 'pp',

0 commit comments

Comments
 (0)