diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-08-26 15:01:48 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-08-27 18:53:30 -0700 |
| commit | a9b0a7ba935c79b45effcc2f55eb056bd087d9a4 (patch) | |
| tree | 05704d973b5e31cb63d59706dab4a919d0884bad /src/rustllvm/RustWrapper.cpp | |
| parent | 398aaffc94367ed59420f5ac0b0238c04c9e4fa5 (diff) | |
| download | rust-a9b0a7ba935c79b45effcc2f55eb056bd087d9a4.tar.gz rust-a9b0a7ba935c79b45effcc2f55eb056bd087d9a4.zip | |
rustbuild: Rewrite the configure script in Python
This commit rewrites our ancient `./configure` script from shell into Python. The impetus for this change is to remove `config.mk` which is just a vestige of the old makefile build system at this point. Instead all configuration is now solely done through `config.toml`. The python script allows us to more flexibly program (aka we can use loops easily) and create a `config.toml` which is based off `config.toml.example`. This way we can preserve comments and munge various values as we see fit. It is intended that the configure script here is a drop-in replacement for the previous configure script, no functional change is intended. Also note that the rationale for this is also because our build system requires Python, so having a python script a bit earlier shouldn't cause too many problems. Closes #40730
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
