-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Refactor documentation for Apple targets #124772
Conversation
- Fixed std support in top-level docs. - Added `*-apple-darwin` docs. - Added `i686-apple-darwin` docs. - Moved `aarch64-apple-ios-sim` to `*-apple-ios` and document all the iOS targets there. - Added `*-apple-ios-macabi` docs. - Add myself (madsmtm) as co-maintainer of most of these targets.
These commits modify compiler targets. Some changes occurred in src/doc/rustc/src/platform-support cc @Nilstrieb |
works for me. The targets are similar enough and I use them that I can try to help if things break. |
r? compiler |
I don't have an opinion on the changes, but they look like an improvement and y'all seem happy with it. @bors r+ rollup |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#124570 (Miscellaneous cleanups) - rust-lang#124772 (Refactor documentation for Apple targets) - rust-lang#125011 (Add opt-for-size core lib feature flag) - rust-lang#125218 (Migrate `run-make/no-intermediate-extras` to new `rmake.rs`) - rust-lang#125225 (Use functions from `crt_externs.h` on iOS/tvOS/watchOS/visionOS) - rust-lang#125266 (compiler: add simd_ctpop intrinsic) - rust-lang#125348 (Small fixes to `std::path::absolute` docs) Failed merges: - rust-lang#125296 (Fix `unexpected_cfgs` lint on std) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#124772 - madsmtm:apple-platform-support-docs, r=oli-obk Refactor documentation for Apple targets Refactor the documentation for Apple targets in `rustc`'s platform support page to make it clear what the supported OS version is and which environment variables are being read (`*_DEPLOYMENT_TARGET` and `SDKROOT`). This fixes rust-lang#124215. Note that I've expanded the `aarch64-apple-ios-sim` maintainers `@badboy` and `@deg4uss3r` to include being maintainer of all `*-apple-ios-*` targets. If you do not wish to be so, please state that, then I'll explicitly note that in the docs. Additionally, I've added myself as co-maintainer of most of these targets. r? `@thomcc` I think the documentation you've previously written on tvOS is great, have mostly modified it to have a more consistent formatting with the rest of the Apple target. I recognize that there's quite a few changes here, feel free to ask about any of them! --- CC `@simlay` `@Nilstrieb` `@rustbot` label O-apple
- [arm64e-apple-darwin.md](platform-support/arm64e-apple-darwin.md) | ||
- [\*-apple-ios](platform-support/apple-ios.md) | ||
- [\*-apple-ios-macabi](platform-support/apple-ios-macabi.md) | ||
- [arm64e-apple-ios.md](platform-support/arm64e-apple-ios.md) |
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.
the .md
suffix is probably not needed?
- [arm64e-apple-darwin.md](platform-support/arm64e-apple-darwin.md) | |
- [\*-apple-ios](platform-support/apple-ios.md) | |
- [\*-apple-ios-macabi](platform-support/apple-ios-macabi.md) | |
- [arm64e-apple-ios.md](platform-support/arm64e-apple-ios.md) | |
- [arm64e-apple-darwin](platform-support/arm64e-apple-darwin.md) | |
- [\*-apple-ios](platform-support/apple-ios.md) | |
- [\*-apple-ios-macabi](platform-support/apple-ios-macabi.md) | |
- [arm64e-apple-ios](platform-support/arm64e-apple-ios.md) |
Remove unnecessary `.md` from the documentation sidebar Oversight from rust-lang#124772, caught in rust-lang#124772 (comment). r? weihanglo
Remove unnecessary `.md` from the documentation sidebar Oversight from rust-lang#124772, caught in rust-lang#124772 (comment). r? weihanglo
Rollup merge of rust-lang#125395 - madsmtm:fix-doc-summary, r=lqd Remove unnecessary `.md` from the documentation sidebar Oversight from rust-lang#124772, caught in rust-lang#124772 (comment). r? weihanglo
Remove unnecessary `.md` from the documentation sidebar Oversight from rust-lang/rust#124772, caught in rust-lang/rust#124772 (comment). r? weihanglo
Refactor the documentation for Apple targets in
rustc
's platform support page to make it clear what the supported OS version is and which environment variables are being read (*_DEPLOYMENT_TARGET
andSDKROOT
). This fixes #124215.Note that I've expanded the
aarch64-apple-ios-sim
maintainers @badboy and @deg4uss3r to include being maintainer of all*-apple-ios-*
targets. If you do not wish to be so, please state that, then I'll explicitly note that in the docs.Additionally, I've added myself as co-maintainer of most of these targets.
r? @thomcc
I think the documentation you've previously written on tvOS is great, have mostly modified it to have a more consistent formatting with the rest of the Apple target.
I recognize that there's quite a few changes here, feel free to ask about any of them!
CC @simlay @Nilstrieb
@rustbot label O-apple