diff options
| author | Alexander Regueiro <alexreg@me.com> | 2019-07-05 18:22:08 +0100 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2019-07-06 03:31:18 +0100 |
| commit | ac9dd1bd0cb6a2c1c86f52f3331db20768704de5 (patch) | |
| tree | ccf962d31bdadff8fada54bb26ebbe92c3aa5d56 /src/bootstrap | |
| parent | 481068a707679257e2a738b40987246e0420e787 (diff) | |
Fixed up a few comments.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/lib.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 7f652c0d7a7..4d297fa918a 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -197,11 +197,11 @@ pub struct Compiler { #[derive(PartialEq, Eq, Copy, Clone, Debug)] pub enum DocTests { - // Default, run normal tests and doc tests. + /// Run normal tests and doc tests (default). Yes, - // Do not run any doc tests. + /// Do not run any doc tests. No, - // Only run doc tests. + /// Only run doc tests. Only, } @@ -221,10 +221,10 @@ pub enum GitRepo { /// methods specifically on this structure itself (to make it easier to /// organize). pub struct Build { - // User-specified configuration via config.toml + /// User-specified configuration from `config.toml`. config: Config, - // Derived properties from the above two configurations + // Properties derived from the above configuration src: PathBuf, out: PathBuf, rust_info: channel::GitInfo, @@ -240,12 +240,12 @@ pub struct Build { doc_tests: DocTests, verbosity: usize, - // Targets for which to build. + // Targets for which to build build: Interned<String>, hosts: Vec<Interned<String>>, targets: Vec<Interned<String>>, - // Stage 0 (downloaded) compiler and cargo or their local rust equivalents. + // Stage 0 (downloaded) compiler and cargo or their local rust equivalents initial_rustc: PathBuf, initial_cargo: PathBuf, @@ -255,7 +255,7 @@ pub struct Build { cxx: HashMap<Interned<String>, cc::Tool>, ar: HashMap<Interned<String>, PathBuf>, ranlib: HashMap<Interned<String>, PathBuf>, - // Misc + // Miscellaneous crates: HashMap<Interned<String>, Crate>, is_sudo: bool, ci_env: CiEnv, |
