about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2023-07-01 22:02:55 -0400
committerTrevor Gross <tmgross@umich.edu>2023-08-02 04:38:16 -0400
commit8a2022b108c520085fc486619ba2af39e35b1738 (patch)
treec54d4922964a583a2a993250d628dd56373cea3f /compiler/rustc_llvm/llvm-wrapper
parent7a5d2d0138d4a3d7d97cad0ca72ab62e938e0b0b (diff)
downloadrust-8a2022b108c520085fc486619ba2af39e35b1738.tar.gz
rust-8a2022b108c520085fc486619ba2af39e35b1738.zip
Add more context to `quit_if_file_exists` in `configure.py`
Currently, having a dirty `obj/` directory is sufficient to abort CI
tests. This results in errors like the following:

```
...
== end clock drift check ==
sccache: Starting the server...
configure: error: Existing 'config.toml' detected.
== clock drift check ==
...
```

This is subtle and doesn't give a good idea as to what causes the issue.
With this patch, the error becomes more prominent and a resolution is
suggested:

```
== end clock drift check ==
sccache: Starting the server...

configure: ERROR: Existing 'config.toml' detected. Exiting
Is objdir '/home/tmgross/projects/rust/obj' clean?

== clock drift check ==
```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions