]> git.lizzy.rs Git - rust.git/commit
rustbuild: Add steps for linking a sysroot
authorAlex Crichton <alex@alexcrichton.com>
Thu, 25 Feb 2016 07:50:32 +0000 (23:50 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 28 Feb 2016 18:50:13 +0000 (10:50 -0800)
commite9a897c10f1636fca5c99bdbf12d02ea7ffd6e4c
treedc2b9334ecbded0cd6543e1cee46d7c8352cbf5f
parent06773878f325e3ad180afe7abcb50e5a8bb411b9
rustbuild: Add steps for linking a sysroot

When cross compiling for a new host, we can't actually run the host compiler to
generate its own libs. In theory, however, all stage2 compilers (for any host)
will produce the same libraries, so we just require the build compiler to
produce the necessary host libraries and then we link those into place.
src/bootstrap/build/compile.rs
src/bootstrap/build/mod.rs
src/bootstrap/build/step.rs