diff options
Diffstat (limited to 'std/wasi')
-rw-r--r-- | std/wasi/snapshot_preview1.ts | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/std/wasi/snapshot_preview1.ts b/std/wasi/snapshot_preview1.ts index b15557e00..9a1796e2e 100644 --- a/std/wasi/snapshot_preview1.ts +++ b/std/wasi/snapshot_preview1.ts @@ -590,8 +590,10 @@ export default class Context { const memoryView = new DataView(this.#memory.buffer); memoryView.setUint8(offset, entry.type!); memoryView.setUint16(offset + 2, entry.flags!, true); - memoryView.setBigUint64(offset + 8, 0n, true); // TODO - memoryView.setBigUint64(offset + 16, 0n, true); // TODO + // TODO(bartlomieju) + memoryView.setBigUint64(offset + 8, 0n, true); + // TODO(bartlomieju) + memoryView.setBigUint64(offset + 16, 0n, true); return ERRNO_SUCCESS; }), @@ -1371,19 +1373,19 @@ export default class Context { } if ((fdflags & FDFLAGS_DSYNC) != 0) { - // TODO (caspervonb) review if we can emulate this. + // TODO(caspervonb): review if we can emulate this. } if ((fdflags & FDFLAGS_NONBLOCK) != 0) { - // TODO (caspervonb) review if we can emulate this. + // TODO(caspervonb): review if we can emulate this. } if ((fdflags & FDFLAGS_RSYNC) != 0) { - // TODO (caspervonb) review if we can emulate this. + // TODO(caspervonb): review if we can emulate this. } if ((fdflags & FDFLAGS_SYNC) != 0) { - // TODO (caspervonb) review if we can emulate this. + // TODO(caspervonb): review if we can emulate this. } if (!options.read && !options.write && !options.truncate) { |