On 11-07-05 8:38 AM, Marijn Haverbeke wrote:
(I think.) The current situation is that stage1/rustc is always
compiled against stage0/lib/libstd.so , which means that when I add
something to the standard lib, I can't use it in rustc until after the
next snapshot. This seems needlessly awkward (and is going to slow
down stdlib development by discouraging everyone from putting general
code they write in the stdlib).
There is probably a reason for the current set-up, but I think it
should be reconsidered.
The reason is that stage1/rustc is a regular rust program produced by
stage0/rustc. Every program compiled with stage0/rustc gets linked with
its libraries.
A way to think of it: imagine there was another rust compiler (visual
rust), if you started the bootstrap of our compiler using it (stage0 is
visual rust), stage1 would depend on the runtime libraries of visual rust.
Cheers,
Rafael
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev