about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-07-07 12:17:43 +0900
committerGitHub <noreply@github.com>2021-07-07 12:17:43 +0900
commit7be29c1627d741f300e05ffb7d0ac430005d12e1 (patch)
tree039476bdd03da5853b8fdf46e7f766e3adc5f110 /compiler/rustc_errors/src/snippet.rs
parentfe3d6a74d9483a8c0f74c80c3b647e07e5ce7a6d (diff)
parent0b3653bbdd70ff0c19edc5c59a794f4c4cd86f31 (diff)
downloadrust-7be29c1627d741f300e05ffb7d0ac430005d12e1.tar.gz
rust-7be29c1627d741f300e05ffb7d0ac430005d12e1.zip
Rollup merge of #86907 - pietroalbini:ci-cpu-stats-python3, r=Mark-Simulacrum
Migrate `cpu-usage-over-time.py` to Python 3

The only change here is a fix for `sys.platform` on Linux. Python 3.3 changed the API to return `"linux"` instead of `"linux2"`/`"linux3"`, so this PR uses `.startswith("linux")` to make the code work on Python 3 without breaking Python 2.
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions