Skip to content

Fix a few minor issues with fd_{write,read} - #8340

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:fixup-opts
Apr 12, 2024
Merged

alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:fixup-opts

Conversation

@alexcrichton

Copy link
Copy Markdown
Member
  • Explicitly document why blocking_mode is being ignored.
  • Don't write-in-a-loop to doing a partial write and then returning an error.
  • Spawn a background read/write when the embedding cannot block the current thread.
  • Don't panic on overflows for addition.
  • Fix panic on reads with shared memory

Follow-ups to #8303

* Explicitly document why `blocking_mode` is being ignored.
* Don't write-in-a-loop to doing a partial write and then returning an
  error.
* Spawn a background read/write when the embedding cannot block the
  current thread.
* Don't panic on overflows for addition.
* Fix panic on reads with shared memory

Follow-ups to bytecodealliance#8303
@alexcrichton
alexcrichton requested a review from a team as a code owner April 11, 2024 19:55
@alexcrichton
alexcrichton requested review from fitzgen and removed request for a team April 11, 2024 19:55
@github-actions github-actions Bot added the wasi Issues pertaining to WASI label Apr 11, 2024
@fitzgen
fitzgen added this pull request to the merge queue Apr 11, 2024
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Apr 12, 2024
@alexcrichton
alexcrichton added this pull request to the merge queue Apr 12, 2024
Merged via the queue into bytecodealliance:main with commit d7d7f78 Apr 12, 2024
@alexcrichton
alexcrichton deleted the fixup-opts branch April 12, 2024 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasi Issues pertaining to WASI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants