Skip to content

Deployment target incorrect in rust-std assets on apple platforms #1171

Open
@Reflejo

Description

@Reflejo

After this PR, the rust-std assets built in CI (nightly/beta/stable/etc) have an incorrect deployment target on darwin. rust-std was relying on. rusts' default targets when IPHONEOS_DEPLOYMENT_TARGET was not set and the CI job does not include that env var.

Meaning that when rust-std is built with the c feature (it is for all assets), the rust-std rlib takes the maximum minos which thanks to libcompile-rt is now the host sdk-version.

Related issue rust-lang/compiler-builtins#650 (comment)

I proposed two solutions in the previous issue, let me know if you think of a third.

cc @BlackHoleFox

Metadata

Metadata

Assignees

Labels

O-appleApple targets and toolchains

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions