Skip to content

Implement a few more WASI APIs - #19124

Open
sbc100 wants to merge 1 commit into
mainfrom
implement_some_wasi2
Open

Implement a few more WASI APIs#19124
sbc100 wants to merge 1 commit into
mainfrom
implement_some_wasi2

Conversation

@sbc100

@sbc100 sbc100 commented Apr 3, 2023

Copy link
Copy Markdown
Collaborator

Followup to #12704.

Comment thread src/library_wasi.js
fd_renumber: function(fd, to) {
#if SYSCALLS_REQUIRE_FILESYSTEM
var oldStream = SYSCALLS.getStreamFromFD(fd);
var newStream = SYSCALLS.getStreamFromFD(fd);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be getStreamFromFD(to) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants