Skip to content

-Z gen-crate-map should be a crate attribute #11617

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
alexcrichton opened this issue Jan 17, 2014 · 2 comments
Closed

-Z gen-crate-map should be a crate attribute #11617

alexcrichton opened this issue Jan 17, 2014 · 2 comments

Comments

@alexcrichton
Copy link
Member

Crates should be able to opt-in to requesting a crate map.

An error should be generated if this attribute is specified when an rlib is being created

@alexcrichton
Copy link
Member Author

Note that I think this is a suitable replacement for #11080 because you have to explicitly opt-in to it.

@larsbergstrom
Copy link
Contributor

We need this in Servo because we generate a top-level shared library instead of an executable on Android so that we can create an executable using the Android NDK that has all the proper googly bits. But, we'd still like to be able to set RUST_LOG.

flip1995 pushed a commit to flip1995/rust that referenced this issue Apr 3, 2025
…e decompose directly (rust-lang#14370)

Closes rust-lang#11617
Closes rust-lang#14368

Clippy gives wrong suggestions when the filter and then cannot be put
into closure directly. Since trying to transform these can be too
complicated, Clippy will simply warn but don't try to fix.

changelog: [`filter_map_bool_then`]: fix wrong suggestions when the
closure cannot be decompose directly
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

No branches or pull requests

2 participants