about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2020-11-02 13:20:16 +0100
committerPietro Albini <pietro@pietroalbini.org>2020-11-02 13:20:16 +0100
commit0af9f7edb74639b9cf0eed8bd1d2e5b80880fd9a (patch)
treee9fbd3ff36e1655cf7fb5a686f0bb81e8d20b89a /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent3478d7c3607ffbba629af2265c01002771e48c18 (diff)
downloadrust-0af9f7edb74639b9cf0eed8bd1d2e5b80880fd9a.tar.gz
rust-0af9f7edb74639b9cf0eed8bd1d2e5b80880fd9a.zip
compiletest: try running lldb_batchmode.py with PYTHONUNBUFFERED
When reporting fatal errors, LLVM calls abort() to exit the program.
There is a chance that might interfere with Python printing stuff to
stdout, as by default it relies on buffering to increase performance.

This commit tries to disable Python buffering, to hopefully get useful
logs while debugging #78665.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions