diff options
-rw-r--r-- | tests/fs/test_idbfs_sync.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/fs/test_idbfs_sync.c b/tests/fs/test_idbfs_sync.c index 9ac223ff..0d8f4d71 100644 --- a/tests/fs/test_idbfs_sync.c +++ b/tests/fs/test_idbfs_sync.c @@ -13,7 +13,9 @@ int main() { ); #if FIRST - // store local files to backing IDB + // store local files to backing IDB. Note that we use the JS FS API for everything here, but we + // could use normal libc fwrite etc. to do the writing. All we need the JS FS API for is to + // mount the filesystem and do syncfs. EM_ASM_ARGS({ FS.writeFile('/working/waka.txt', 'az'); FS.writeFile('/working/moar.txt', $0); |