Skip to content

fix(wasi): export FileInputStream#8244

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
rvolosatovs:fix/export-file-input-stream
Mar 26, 2024
Merged

fix(wasi): export FileInputStream#8244
alexcrichton merged 1 commit intobytecodealliance:mainfrom
rvolosatovs:fix/export-file-input-stream

Conversation

@rvolosatovs
Copy link
Member

Currently, HostInputStream is a public enum, meaning that embedders can e.g. delete them from the table, match the cases and call methods on FileInputStream stored in HostInputStream::File, however embedders cannot name the FileInputStream type, since it's contained in a private filesystem module and not re-exported. Re-export to remove the need for embedders to always match on the HostInputStream rather than just using the FileInputStream directly

Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
@rvolosatovs rvolosatovs requested a review from a team as a code owner March 26, 2024 17:50
@rvolosatovs rvolosatovs requested review from alexcrichton and removed request for a team March 26, 2024 17:50
@alexcrichton alexcrichton enabled auto-merge March 26, 2024 18:00
@alexcrichton alexcrichton added this pull request to the merge queue Mar 26, 2024
Merged via the queue into bytecodealliance:main with commit d256e25 Mar 26, 2024
@rvolosatovs rvolosatovs deleted the fix/export-file-input-stream branch March 26, 2024 18:38
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