Skip to content

Conversation

@ehuss
Copy link
Contributor

@ehuss ehuss commented Jun 30, 2025

New rules:

  • items.extern.attributes.link.allowed-positions
  • items.extern.attributes.link.duplicates
  • items.extern.attributes.link.name
  • items.extern.attributes.link.name.intro
  • items.extern.attributes.link.kind
  • items.extern.attributes.link.kind.intro
  • items.extern.attributes.link.modifiers.intro

Removed rules:

  • items.extern.attributes.link.kind-raw-dylib, items.extern.attributes.link.kind-raw-dylib.intro, items.extern.attributes.link.kind-raw-dylib.import -- moved into note

Renamed rules:

  • items.extern.attributes.link.dylib is now items.extern.attributes.link.kind.dylib
  • items.extern.attributes.link.static is now items.extern.attributes.link.kind.static
  • items.extern.attributes.link.framework is now items.extern.attributes.link.kind.framework
  • items.extern.attributes.link.raw-dylib is now items.extern.attributes.link.kind.raw-dylib
  • items.extern.attributes.link.name-requirement is now items.extern.attributes.link.name.requirement
  • items.extern.attributes.link.modifiers.multiple split into items.extern.attributes.link.modifiers.once and items.extern.attributes.link.modifiers.duplicates
  • items.extern.attributes.link.wasm_import_module split into items.extern.attributes.link.wasm_import_module.behavior
  • items.extern.attributes.link.kind-raw-dylib.platform-specific moved into items.extern.attributes.link.kind.raw-dylib

@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jun 30, 2025
@rustbot

This comment has been minimized.

ehuss added 23 commits October 7, 2025 13:45
The old text was missing some keys. This adds the keys as a list, with
some more explicit organization.
There is a warning without it.
This doesn't look like behavioral rules, but more of an explanation.
Also move it to the `raw-dylib` section, since it seems mostly relevant
there.
This is already specified in the raw-dylib section.
Add an example, and slight rewording.
It was in the middle of the modifiers section.
Dropping the use of "Rust compiler".
This just simplifies the wording, and links to the relevant section.
@rustbot
Copy link
Collaborator

rustbot commented Oct 7, 2025

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

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