Skip to content

std: remove dummy stack overflow handler module on WASI - #166389

Open
joboet wants to merge 1 commit into
rust-lang:mainfrom
joboet:wasi_no_stack_overflow
Open

joboet wants to merge 1 commit into
rust-lang:mainfrom
joboet:wasi_no_stack_overflow

Conversation

@joboet

@joboet joboet commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

WASI doesn't have stack overflow reporting. Instead of defining a dummy module, this PR just #[cfg]s out the relevant line in the thread code.

@rustbot rustbot added A-thread Area: `std::thread` O-wasi Operating system: Wasi, Webassembly System Interface S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 23, 2026
@rustbot

rustbot commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ChrisDenton, libs
  • @ChrisDenton, libs expanded to 38 candidates
  • Random selection from JohnTitor, Mark-Simulacrum

This branch has not been deployed

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

Labels

A-thread Area: `std::thread` O-wasi Operating system: Wasi, Webassembly System Interface S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants