Comments (3)
The platform support docs are the right place for this, yes. I think adding it to the platform support docs and then also leaving a comment next to them linking to DEPLOYMENT_TARGET and the other way around should ensure that they stay in sync.
from rust.
We give the arm64e-apple-*
triples a higher default deployment target since the hardware is only supported on those newer OS versions. It's technically the same story with x86_64h-apple-darwin
, although there the version is macOS 10.8, which is lower than the minimum Rust already requires.
I think it's a good idea to add to the platform support docs, I was considering splitting it into the following pages / "categories":
*-apple-darwin
*-apple-ios
*-apple-tvos
*-apple-watchos
*-apple-visionos
*-apple-ios-macabi
(Mac Catalyst is sufficiently different from iOS that it makes sense to document it separately)x86_64h-apple-darwin
(Documents only the things relating tox86_64h
, links to*-apple-darwin
for the rest)arm64e-apple-*
(Same idea as above)
Do you think that's a good idea? In any case, I'd like to do this work:
@rustbot claim
CC @Nilstrieb who is working on target docs
CC @thomcc
@rustbot label O-macos O-ios O-tvos O-watchos O-visionos
from rust.
Related: cc
might soon require setting the deployment target when cross-compiling these platforms from non-macOS, so maybe it makes sense to have a top-level *-apple-*
page explaining these targets in general, including cross compilation stuff?
from rust.
Related Issues (20)
- `#[expect(unused_imports)]` does not work correctly on grouped imports HOT 8
- Solve the pinned memchr problem
- `doctest` line number is incorrect if used with #![doc = include_str!()] HOT 6
- `tests/run-make/print-target-list` `--print=sysroot` check fails for experimental llvm targets HOT 3
- Missing implied bound raises misleading error message HOT 7
- Tracking issue for pub_use_of_private_extern_crate future-compatibility lint
- Degradation from rustc 1.71.0 -> 1.79.0 ("infinite space" compile error not recognized anymore) HOT 6
- type alias `Plus2` is never used HOT 10
- The Android CI prints unrelated things to stdout, ruining check-run-results tests. HOT 2
- conflicting errors: `index out of bounds` HOT 2
- ICE: delegation: `unexpected parent of trait or impl item or item not found` HOT 1
- run-make: revise rmake.rs setup in compiletest
- Unconstrained lifetimes in impl headers are usable in assoc consts
- don't suggest turning crate-level attributes into outer style HOT 1
- Remove `binary_asm_labels` once the LLVM issue is fixed
- `asm!` lints based on `cfg` rather than target HOT 3
- `std::ptr::drop_in_place` docs suggest overwriting value with `write`, which can lead to unsoundness in common cases HOT 6
- assertion left==right failed in rustc_query_system/src/dep_graph/serialized.rs HOT 2
- Tracking Issue for `debug_more_non_exhaustive` HOT 3
- rustdoc leaks private types in Implementations on Foreign Types HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.