Skip to content
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

link_args attribute should be applicable to crates #2217

Closed
brson opened this issue Apr 16, 2012 · 1 comment
Closed

link_args attribute should be applicable to crates #2217

brson opened this issue Apr 16, 2012 · 1 comment
Labels
A-linkage Area: linking into static, shared libraries and binaries C-enhancement Category: An issue proposing an enhancement or a PR with one. E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@brson
Copy link
Contributor

brson commented Apr 16, 2012

I frequently write things like

    #[link_args = "-L. -lcairo -lazure"]
    #[nolink]
    native mod m { }

because I need to pass some additional flags to the compiler. I shouldn't need the empty mod.

@Aatch
Copy link
Contributor

Aatch commented Apr 29, 2013

#6105 in whatever it's final form ends up being should mitigate this.

@Aatch Aatch closed this as completed Apr 29, 2013
bors added a commit to rust-lang-ci/rust that referenced this issue May 2, 2020
…lip1995

Downgrade range_plus_one to pedantic

This fixes rust-lang#2217

changelog: Downgrade [`range_plus_one`] to `pedantic`
bors added a commit to rust-lang-ci/rust that referenced this issue Sep 22, 2022
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
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 C-enhancement Category: An issue proposing an enhancement or a PR with one. 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

2 participants