-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Design of std::os::consts is unmaintainable/unspeccable #13536
Comments
Assigning 1.0, P-backcompat-libs. |
@brson I'll be happy to try this. I'm not quite sure what you want the outcome to be though; I'll find you on the IRC. |
@pongad I want the outcome to be that
And in fact could even be defined using
Just making this change will probably break parts of rustc that do want to know this information for all platforms. I would then just duplicate the constants directly in rustc. |
docs: add crates section to the manual closes rust-lang#13533 Added a section to the user manual, to make it easier for users to find the correct crate.
docs: fix adoc links Correct rust-lang#13536 with adoc link syntax
Allow to go through clippy lints page without javascript Fixes rust-lang#13536. This is the follow-up of rust-lang/rust-clippy#13269. This PR makes it possible to expand/collapse lints (individually) without JS. To achieve this result, there are two ways: 1. Use `details` and `summary` tags. Problem with this approach is that the web browser search may open the `details` tags automatically if content matching it is inside. From a previous discussion with `@Alexendoo,` it seems to not be a desired behaviour. 2. Use a little trick where you use a `label` and a checkbox where the checkbox is in fact hidden. Then it's just a matter of CSS. r? `@Alexendoo` changelog: Allow to go through clippy lints page without JS
This module looks vaguelly like
All constants for all platforms are available to all platforms. There is no bound to the number of public modules that must be added here over time, and doubtless different implementations of Rust must support different platforms. In other words, as designed this module will never stop changing. This is a mess waiting to happen. I suggest only exposing the current arch and moving any necessary cross-arch capability into rustc directly. Nominating.
The text was updated successfully, but these errors were encountered: