]> git.lizzy.rs Git - rust.git/commit
rustbuild: Fix uplifting stage1 on cross builds
authorAlex Crichton <alex@alexcrichton.com>
Tue, 29 Aug 2017 01:32:29 +0000 (18:32 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 29 Aug 2017 01:32:29 +0000 (18:32 -0700)
commit7007a44cf28dafb11deb595b63fcdfa82cc24a03
treec5aa077fb80ac115e4015c2f91ff53d927b123ef
parent5caca6fa0213cadca1584db43dd71fb5f82b41b9
rustbuild: Fix uplifting stage1 on cross builds

When we pass `--host` the `self.hosts` array doesn't contain `self.build`, so
check `self.build` to see if we can uplift.
src/bootstrap/lib.rs