Alex Crichton | a270b80 | 2016-10-21 20:18:09 | [diff] [blame] | 1 | #!/usr/bin/env python |
Alex Crichton | a270b80 | 2016-10-21 20:18:09 | [diff] [blame] | 2 | |
Titus Barik | 04e4d42 | 2017-04-30 20:10:31 | [diff] [blame] | 3 | # This file is only a "symlink" to bootstrap.py, all logic should go there. |
Vadim Petrochenkov | 11adac3 | 2017-03-03 02:27:07 | [diff] [blame] | 4 | |
Alex Crichton | a270b80 | 2016-10-21 20:18:09 | [diff] [blame] | 5 | import os |
Vadim Petrochenkov | 11adac3 | 2017-03-03 02:27:07 | [diff] [blame] | 6 | import sys |
7 | rust_dir = os.path.dirname(os.path.abspath(__file__)) | ||||
8 | sys.path.append(os.path.join(rust_dir, "src", "bootstrap")) | ||||
Alex Crichton | a270b80 | 2016-10-21 20:18:09 | [diff] [blame] | 9 | |
10 | import bootstrap | ||||
Vadim Petrochenkov | 11adac3 | 2017-03-03 02:27:07 | [diff] [blame] | 11 | bootstrap.main() |