diff options
| author | jyn <github@jyn.dev> | 2023-06-04 12:22:45 -0500 |
|---|---|---|
| committer | jyn <github@jyn.dev> | 2023-06-23 21:13:36 -0500 |
| commit | c5820b50c558943f83a7f8d531f5e96da59989bc (patch) | |
| tree | c7114c544202f928a3088ef2e05003782451f9ab /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 3508cde815941317a8a5ee81c8de9c9854fdb53a (diff) | |
| download | rust-c5820b50c558943f83a7f8d531f5e96da59989bc.tar.gz rust-c5820b50c558943f83a7f8d531f5e96da59989bc.zip | |
Test cargo arguments passed by bootstrap.py
This moves a lot of code around, but the logic itself is not too terribly complicated. - Move almost all logic in `def bootstrap` to the `RustBuild` class, to avoid mixing setting configuration with running commands - Update various doctests to the new (more complete) RustBuild config. In particular, don't pretend that `bin_root` supports `build` being unset. - Change `parse_args` not to use a global, to allow testing it - Set BUILD_DIR appropriately so bootstrap.py doesn't panic because cargo isn't found
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
