-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
RFC: Target extension #2048
RFC: Target extension #2048
Conversation
it seems macos use something like that to provide to llvm the OS version. It is using So I assume a RFC isn't necessary any more to propose something similar for OpenBSD ? |
|
||
- `aarch64-unknown-freebsd` | ||
- `i686-unknown-freebsd` | ||
- `x86_64-unknown-freebsd` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This number has increased.
@Centril which team is responsible for this ? @rust-lang/compiler or @rust-lang/libs ? And what would be required for this to move towards FCP ? |
I'll have a look later today. |
Having reviewed the RFC, I think it is clearly both a compiler team RFC (because changes to target specs wrt. backend purposes) and a language team (because new cfg flags are added). However, @nikomatsakis's noted:
Thus I will let |
I think perhaps @nagisa would be a good fit to think about the RFC deeply. =) The compiler team should probably take the lead here. |
It would be nice if the RFC covered targets with multiple independent versions. For example, Windows, where the VC++ version is independent of the OS version. The VC++ version would need to be tied into a system for doing VC++ detection in one place and ensuring everything uses the same version. For the windows version it is even worse because in addition to setting the supported windows version and adding a manifest to declare that to Windows, there is also the windows sdk version which has its own breaking changes. For drivers especially, there are breaking changes between each build of windows. |
@retep998 for what I know of Windows environment, VC++ version would be in environment version. So you could have a triple like but regarding rust ecosystem (rustup for example), I doubt it would be interesting to provide several targets for all environements. maybe some discussion could occurs on target selection, based on what the user provide ( |
Discussed in lang team backlog bonanza, where we observed that this is likely to be small and self-contained, important for specific audience (BSD), and fits the Rust's goal of “low-level capabilities." The lang team concluded that if there is a contributor motivated to do this work here, then this is a good candidate for a major change proposal (MCP) and a dedicated project group to land a prototype implementation first (and we'll worry about the final design later, before stabilization). That is, we think there are important questions here that are more likely to be answered via direct tinkering, rather than via iterating on an abstract RFC design document. So we are going to close this RFC and ask that you please file a lang team MCP, and then see if you can get a project group to coalesce around that.
@rfcbot fcp close |
Team member @pnkfelix has proposed to close 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! See this document for info about what commands tagged team members can give me. |
(I'm going to check off the members of the lang team since they agreed to the close proposal during aforementioned backlog bonanza. But I will leave other teams unchecked until at least after tomorrow's T-compiler triage meeting.) Update: After announcing my intentions here at today's compiler team meeting, I have checked off the T-compiler team members too. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to close, 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. The RFC is now closed. |
Rendered