Skip to content

Add a post about --allow-undefined and wasm targets#1815

Merged
Mark-Simulacrum merged 8 commits intorust-lang:mainfrom
alexcrichton:wasm-undefined-symbols
Apr 4, 2026
Merged

Add a post about --allow-undefined and wasm targets#1815
Mark-Simulacrum merged 8 commits intorust-lang:mainfrom
alexcrichton:wasm-undefined-symbols

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

@alexcrichton alexcrichton commented Mar 12, 2026

This is a post announcing the change happening in
rust-lang/rust#149868. The intention is to have this published shortly after that PR lands to ensure there's a nightly that folks can test with first.

Rendered

This is a post announcing the change happening in
rust-lang/rust#149868. The intention is to have
this published shortly after that PR lands to ensure there's a nightly
that folks can test with first.
Copy link
Copy Markdown
Contributor

@kpreid kpreid left a comment

Choose a reason for hiding this comment

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

I have a couple recommendations for expanding the content of the post, and several less important grammar suggestions.

View changes since this review

@alexcrichton
Copy link
Copy Markdown
Member Author

Thanks for the review @kpreid! I've merged all the grammar bits and I've attempted to address your concerns as well

Copy link
Copy Markdown
Contributor

@apiraino apiraino left a comment

Choose a reason for hiding this comment

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

left some tiny nits but otherwise LGTM

View changes since this review

@apiraino
Copy link
Copy Markdown
Contributor

apiraino commented Apr 2, 2026

Merge depends on rust-lang/rust#149868 first

Co-authored-by: apiraino <apiraino@users.noreply.github.com>
@Mark-Simulacrum Mark-Simulacrum merged commit 9c223cc into rust-lang:main Apr 4, 2026
6 checks passed
@alexcrichton alexcrichton deleted the wasm-undefined-symbols branch April 5, 2026 01:05



## What is going to break, and how to fix?
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'm a bit confused, isn't that exactly what this section is talking about? This section was intended to address exactly what you're doing, implicitly generating imports from the env module, and how to retain that behavior.

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.

5 participants