Alex Crichton | a270b80 | 2016-10-21 20:18:09 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | # Copyright 2016 The Rust Project Developers. See the COPYRIGHT |
| 3 | # file at the top-level directory of this distribution and at |
| 4 | # http://rust-lang.org/COPYRIGHT. |
| 5 | # |
| 6 | # Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0> or the MIT license |
| 8 | # <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your |
| 9 | # option. This file may not be copied, modified, or distributed |
| 10 | # except according to those terms. |
| 11 | |
Vadim Petrochenkov | 11adac3 | 2017-03-03 02:27:07 | [diff] [blame] | 12 | # This file is only a "symlink" to boostrap.py, all logic should go there. |
| 13 | |
Alex Crichton | a270b80 | 2016-10-21 20:18:09 | [diff] [blame] | 14 | import os |
Vadim Petrochenkov | 11adac3 | 2017-03-03 02:27:07 | [diff] [blame] | 15 | import sys |
| 16 | rust_dir = os.path.dirname(os.path.abspath(__file__)) |
| 17 | sys.path.append(os.path.join(rust_dir, "src", "bootstrap")) |
Alex Crichton | a270b80 | 2016-10-21 20:18:09 | [diff] [blame] | 18 | |
| 19 | import bootstrap |
Vadim Petrochenkov | 11adac3 | 2017-03-03 02:27:07 | [diff] [blame] | 20 | bootstrap.main() |