Skip to content
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 incorrect 'llvm_target' value used on watchOS target #123446

Merged
merged 1 commit into from
Apr 7, 2024

Commits on Apr 4, 2024

  1. Fix incorrect 'llvm_target' value used on watchOS target

    The expected value is "<arch>-apple-watchos<major>.<minor>.0", i.e.
    "arm64_32-apple-watchos8.0.0".
    
    compiler/rustc_target/src/spec/base/apple/mod.rs contains functions that
    construct such string. There is an existing function
    `watchos_sim_llvm_target` which returns llvm target value for watchOS
    simulator. But there is none for watchOS device. This commit adds that
    missing function to align watchOS with other Apple platform targets.
    crazytonyli committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    1ffb410 View commit details
    Browse the repository at this point in the history