X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Fcompile.rs;h=54906a4918bc12b3d67d90853b38f97a511abe9d;hb=0a528b16fcee67f0ce47c88bf7b57f1bd5439bad;hp=67947a263dc87e4210c54ec814b9cc3277007b6c;hpb=7c67cb230064f89a7b553136c778caecb06b18e2;p=rust.git diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs index 67947a263dc..54906a4918b 100644 --- a/src/bootstrap/compile.rs +++ b/src/bootstrap/compile.rs @@ -763,10 +763,10 @@ pub fn rustc_cargo_env(builder: &Builder<'_>, cargo: &mut Cargo, target: TargetS cargo.env("CFG_LIBDIR_RELATIVE", libdir_relative); - if let Some(ref ver_date) = builder.rust_info.commit_date() { + if let Some(ref ver_date) = builder.rust_info().commit_date() { cargo.env("CFG_VER_DATE", ver_date); } - if let Some(ref ver_hash) = builder.rust_info.sha() { + if let Some(ref ver_hash) = builder.rust_info().sha() { cargo.env("CFG_VER_HASH", ver_hash); } if !builder.unstable_features() {