File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,12 @@ pub enum Mode {
271
271
/// It is used e.g. for linkers and linker tools invoked by rustc on its host target.
272
272
///
273
273
/// These tools participate in staging only when required for cross-compilation.
274
+ ///
275
+ /// Note: since these tools are built with a different compiler when compiling for the host
276
+ /// vs when cross-compiling, such a situation will not produce the exactly identical binary.
277
+ /// The same will happen when using the `local_rebuild` feature (where stage0 is actually
278
+ /// an in-tree compiler). We considered this (https://github.com/rust-lang/rust/pull/143581)
279
+ /// and determined that it should not be an issue in practice.
274
280
ToolTarget ,
275
281
276
282
/// Build a tool which uses the locally built std, placing output in the
You can’t perform that action at this time.
0 commit comments