refactor: Move Apple OSVersion (back) to rustc_target
Also convert OSVersion into a proper struct for better type-safety.
This commit is contained in:
parent
a4166dabaa
commit
d74ce25b65
11 changed files with 125 additions and 100 deletions
|
@ -811,7 +811,7 @@ fn print_crate_info(
|
|||
println_info!(
|
||||
"{}={}",
|
||||
apple::deployment_target_env_var(&sess.target.os),
|
||||
apple::pretty_version(apple::deployment_target(sess)),
|
||||
apple::deployment_target(sess).fmt_pretty(),
|
||||
)
|
||||
} else {
|
||||
#[allow(rustc::diagnostic_outside_of_impl)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue