Skip to content

Add warnings and errors when the crate 'link' attribute looks malformed #614

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
brson opened this issue Jul 2, 2011 · 0 comments
Closed
Assignees
Labels
A-linkage Area: linking into static, shared libraries and binaries E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@brson
Copy link
Contributor

brson commented Jul 2, 2011

The link attribute has special meaning on crates, and certain rules should be enforced like:

  • Warn if there is no 'name' or 'vers' item for shared libraries
  • Error if there are two items with the same identifier

Some of this used to exist until I lost it.

@ghost ghost assigned brson Jul 2, 2011
@brson brson closed this as completed in 10a4737 Jul 5, 2011
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Bumped version number

Bumped version number so that the latest changes go to crates.io.
pdietl pushed a commit to pdietl/rust that referenced this issue Apr 23, 2020
Fix spell error in attributes/diagnostics.md
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
* Improve activity analysis

* Fix hypothesis

* Fix doubleload

* Fix tests
GuillaumeGomez pushed a commit to GuillaumeGomez/rust that referenced this issue Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linkage Area: linking into static, shared libraries and binaries E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

1 participant