Skip to content

Conversation

@jdonszelmann
Copy link

Hi there!

We recently redid how the link attribute is parsed in the rust compiler. When we did so, we realized we were too permissive, and even when using the wrong syntax would allow so without any warning. We decided to fix this, which would break a few (2 to be precise) crates that accidentally used the wrong syntax. You're one of the lucky two! Congrats, hehe.

Specifically for you, the link = "static" part of the attribute was silently ignored by the compiler. I think what you were trying to write was kind = "static", which is the change this PR makes.

We apologize for the small breaking change we caused you.

Relevant compiler PR introducing this change: rust-lang/rust#143193
Issue tracking this regression: rust-lang/rust#147970

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.

1 participant