diff --git a/src/cargo/util/config.rs b/src/cargo/util/config.rs index 6af6dc91919..2b4bdf565a6 100644 --- a/src/cargo/util/config.rs +++ b/src/cargo/util/config.rs @@ -46,8 +46,6 @@ pub struct Config { home_path: Filesystem, /// Information about how to write messages to the shell shell: RefCell, - /// Information on how to invoke the compiler (rustc) - rustc: LazyCell, /// A collection of configuration options values: LazyCell>, /// The current working directory of cargo @@ -113,7 +111,6 @@ impl Config { Config { home_path: Filesystem::new(homedir), shell: RefCell::new(shell), - rustc: LazyCell::new(), cwd, values: LazyCell::new(), cargo_exe: LazyCell::new(),