-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Fix target_vendor
for aarch64-nintendo-switch-freestanding
#131166
Conversation
Previously set to `target_vendor = "unknown"`, but Nintendo is clearly the vendor of the Switch, and is also reflected in the target name itself.
r? @chenyukang rustbot has assigned @chenyukang. Use |
These commits modify compiler targets. |
Also, the |
I don't see any reason why this change can't happen, I don't recall there being any specific intent in not specifying vendor |
I don't remember if there was a reason |
Thanks for the response both of you!
I'll let the reviewing compiler team member @chenyukang decide whether it's an appropriate value in |
aarch64-nintendo-switch-freestanding is a Tier 3 target, and since both target maintainers agree:
|
Mostly because it's a new |
EDIT: Actually based on the reference https://doc.rust-lang.org/reference/conditional-compilation.html#target_env:
Let's not include the r=me after removing |
a4c0add
to
746c322
Compare
I'm more comfortable with that myself, too |
You can r=me after PR CI is green. @bors delegate+ rollup |
@bors r=jieyouxu |
…kingjubilee Rollup of 3 pull requests Successful merges: - rust-lang#126930 (Add unstable support for outputting file checksums for use in cargo) - rust-lang#130725 (Parser: better error messages for ``@`` in struct patterns) - rust-lang#131166 (Fix `target_vendor` for `aarch64-nintendo-switch-freestanding`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#131166 - madsmtm:target-info-switch-vendor, r=jieyouxu Fix `target_vendor` for `aarch64-nintendo-switch-freestanding` Previously set to `target_vendor = "unknown"`, but Nintendo is clearly the vendor of the Switch, and is also reflected in the target name itself. CC target maintainers `@leo60228` and `@jam1garner`
Previously set to
target_vendor = "unknown"
, but Nintendo is clearly the vendor of the Switch, and is also reflected in the target name itself.CC target maintainers @leo60228 and @jam1garner