Giter VIP home page Giter VIP logo

Comments (3)

Nilstrieb avatar Nilstrieb commented on July 26, 2024 1

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.

madsmtm avatar madsmtm commented on July 26, 2024

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 to x86_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.

madsmtm avatar madsmtm commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.