-
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
Tracking Issue for cfg-target-abi #80970
Comments
|
|
@nvzqz For |
Implementation in progress at #86922 |
How does this interact with custom target json files? Something like https://github.com/embed-rs/stm32f7-discovery/blob/e4c00f8536d7c6b167c9cf5574d0fe8e1e0cfcff/stm32f7.json |
For anyone wanting to act on the ready-to-stabilize label: also note the |
Ended up here precisely because I wanted to distinguish iOS device and simulator targets in |
Stabilization reportI propose to stabilize SummaryThis stabilizes the #[cfg(target_abi = "macabi")] And
Without
NotesThe In the future I guess an alternative to stabilizing this would be to extend Teststests/ui/cfg/cfg-target-abi.rs DocumentationStabilization PR#119590. This also addresses the FIXMEs left by #86922, where existing (tier 3) values need to change once cfg_target_abi is stable. |
@rustbot labels +I-lang-nominated Nominating on behalf of @ChrisDenton on the basis of the stabilization report above. |
Pardon, @traviscross @rust-lang/lang but this issue came up in discussion and we were wondering if this requires lang FCP to move forward? The RFC was FCPed but the stabilization report needs to have another one for final consensus check on shipping this implementation, right? I'm just asking because I realized it's not actually clear to me if the lang-nom means T-lang should do a sync meeting or if this just needs an async FCP or what. |
The rustc dev guide does document FCP itself being a requirement of stabilization though interestingly the tracking issue template doesn't have FCP as a separate checkbox. I guess because for a while stabilization PRs were basically considered synonymous with FCP? At some point we moved towards putting stabilization reports more often on the issue itself, although there's no formal rule requiring that, so they happen in both places. In fact, as far as the dev guide imagines it, the FCP is strictly sequenced first instead of the last few things happening concurrently (as they do in actual fact). Perhaps the template should have a separate checkbox for FCP, so we don't lose track of that? A lot of tracking issues aren't updated with their final task boxes checked and their links updated, anyways, but that would at least make it easier. |
@workingjubilee: Thanks for the question. As you mention, this indeed would require some action by the lang team for this to stabilize. That most likely would be an FCP, but in certain cases of clear calls or where we've recently approved something related, it could also be simply a meeting consensus of the team that is then communicated here. The nomination means that it's "nominated for us to discuss, typically synchronously." The nomination by itself does not affect whether or not, e.g., an FCP would be required. Since it is nominated, we're trying to get to this in a meeting so that we can discuss it and help it move forward. |
Ah I see! Thank you for clarifying. |
Based on the stabilization report, this does indeed look ready for stabilization. @rfcbot merge |
Team member @joshtriplett has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! cc @rust-lang/lang-advisors: FCP proposed for lang, please feel free to register concerns. |
@rfcbot reviewed |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
@rustbot labels -I-lang-nominated We discussed this in the lang triage meeting today, and the consensus was that we want to do this. It's now in FCP. Thanks to @KodrAus and to @ChrisDenton for pushing forward on this. |
…ios, r=workingjubilee Fix `cfg(target_abi = "sim")` on `i386-apple-ios` Since rust-lang#80970 is stabilizing, I went and had a look, and found that the result was wrong on `i386-apple-ios`. r? rust-lang/macos
…ios, r=workingjubilee Fix `cfg(target_abi = "sim")` on `i386-apple-ios` Since rust-lang#80970 is stabilizing, I went and had a look, and found that the result was wrong on `i386-apple-ios`. r? rust-lang/macos
…ios, r=workingjubilee Fix `cfg(target_abi = "sim")` on `i386-apple-ios` Since rust-lang#80970 is stabilizing, I went and had a look, and found that the result was wrong on `i386-apple-ios`. r? rust-lang/macos
Rollup merge of rust-lang#121210 - madsmtm:fix-target-abi-i386-apple-ios, r=workingjubilee Fix `cfg(target_abi = "sim")` on `i386-apple-ios` Since rust-lang#80970 is stabilizing, I went and had a look, and found that the result was wrong on `i386-apple-ios`. r? rust-lang/macos
…rkingjubilee Fix `cfg(target_abi = "sim")` on `i386-apple-ios` Since rust-lang/rust#80970 is stabilizing, I went and had a look, and found that the result was wrong on `i386-apple-ios`. r? rust-lang/macos
The empty string feels to me more like "no-one thought about what to put here so Perhaps, if we want |
@madsmtm I think I think it's valid to say "there isn't a special ABI", rather than (for instance) having to enumerate ABIs. |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
Rollup merge of rust-lang#119590 - ChrisDenton:cfg-target-abi, r=Nilstrieb Stabilize `cfg_target_abi` This stabilizes the `cfg` option called `target_abi`: ```rust #[cfg(target_abi = "eabihf")] ``` Tracking issue: rust-lang#80970 fixes rust-lang#78791 resolves rust-lang#80970
This is a tracking issue for the RFC "Add
target_abi
configuration" (rust-lang/rfcs#2992).The feature gate for the issue is
#![feature(cfg_target_abi)]
.About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
instructions?)
Unresolved Questions
Implementation history
The text was updated successfully, but these errors were encountered: