Skip to content

Update link_name for updated restrictions#2268

Open
ehuss wants to merge 1 commit into
rust-lang:masterfrom
ehuss:link_name-invalid-names
Open

Update link_name for updated restrictions#2268
ehuss wants to merge 1 commit into
rust-lang:masterfrom
ehuss:link_name-invalid-names

Conversation

@ehuss
Copy link
Copy Markdown
Contributor

@ehuss ehuss commented May 11, 2026

rust-lang/rust#155817 added some restrictions on the symbol name in the link_name attribute. The name cannot be empty or contain null bytes.

cc @folkertdev

rust-lang/rust#155817 added some restrictions on
the symbol name in the `link_name` attribute. The name cannot be empty
or contain null bytes.
@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label May 11, 2026
ehuss added a commit to ehuss/reference that referenced this pull request May 11, 2026
rust-lang/rust#155515 added a restriction
that the symbol name cannot be empty in the `export_name` attribute.

This now matches the behavior of link_name (see
rust-lang#2268).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: The marked PR is awaiting review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants