Skip to content

Commit bf5df31

Browse files
committed
use "bootstrap" instead of "rustbuild"
Let's stick with the single name "bootstrap" to refer to the bootstrap project to avoid confusion. Signed-off-by: onur-ozkan <[email protected]>
1 parent 6d68563 commit bf5df31

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/cargo/core/compiler/build_context/target_info.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ impl RustDocFingerprint {
10891089
let Ok(rustdoc_data) = paths::read(&fingerprint_path) else {
10901090
// If the fingerprint does not exist, do not clear out the doc
10911091
// directories. Otherwise this ran into problems where projects
1092-
// like rustbuild were creating the doc directory before running
1092+
// like bootstrap were creating the doc directory before running
10931093
// `cargo doc` in a way that deleting it would break it.
10941094
return write_fingerprint();
10951095
};

src/cargo/version.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub struct VersionInfo {
1515
pub version: String,
1616
/// The release channel we were built for (stable/beta/nightly/dev).
1717
///
18-
/// `None` if not built via rustbuild.
18+
/// `None` if not built via bootstrap.
1919
pub release_channel: Option<String>,
2020
/// Information about the Git repository we may have been built from.
2121
///
@@ -42,9 +42,9 @@ pub fn version() -> VersionInfo {
4242
};
4343
}
4444

45-
// This is the version set in rustbuild, which we use to match rustc.
45+
// This is the version set in bootstrap, which we use to match rustc.
4646
let version = option_env_str!("CFG_RELEASE").unwrap_or_else(|| {
47-
// If cargo is not being built by rustbuild, then we just use the
47+
// If cargo is not being built by bootstrap, then we just use the
4848
// version from cargo's own `Cargo.toml`.
4949
//
5050
// There are two versions at play here:

0 commit comments

Comments
 (0)