File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,15 @@ internally. The result is the compiling `rustc` is done in stages:
62
62
compiled with the stage0 compiler to produce the stage1 compiler.
63
63
However, it was built with an older compiler (stage0), so to
64
64
optimize the stage1 compiler we go to next stage.
65
+ - (In theory, the stage1 compiler is functionally identical to the
66
+ stage2 compiler, but in practice there are subtle differences. In
67
+ particular, the stage1 compiler itself was built by stage0 and
68
+ hence not by the source in your working directory: this means that
69
+ the symbol names used in the compiler source may not match the
70
+ symbol names that would have been made by the stage1 compiler.
71
+ This can be important when using dynamic linking (e.g., with
72
+ derives. Sometimes this means that some tests don't work when run
73
+ with stage1.)
65
74
- ** Stage 2:** we rebuild our stage1 compiler with itself to produce
66
75
the stage2 compiler (i.e. it builds itself) to have all the _ latest
67
76
optimizations_ .
You can’t perform that action at this time.
0 commit comments