diff options
| author | Mads Marquart <mads@marquart.dk> | 2025-02-11 10:43:25 +0100 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2025-04-04 15:01:27 +0200 |
| commit | d74ce25b65e60cd5ccade3c6fd4234dbd201bda8 (patch) | |
| tree | e3b3d6cb241c5d4598cd2cf77133f322b755d713 /compiler/rustc_driver_impl | |
| parent | a4166dabaae56ab0d35a7825c3e7008778eacf34 (diff) | |
| download | rust-d74ce25b65e60cd5ccade3c6fd4234dbd201bda8.tar.gz rust-d74ce25b65e60cd5ccade3c6fd4234dbd201bda8.zip | |
refactor: Move Apple OSVersion (back) to rustc_target
Also convert OSVersion into a proper struct for better type-safety.
Diffstat (limited to 'compiler/rustc_driver_impl')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index 21b9542d0e1..12f85c23a14 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -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)] |
