mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
20 lines
305 B
Bash
Executable File
20 lines
305 B
Bash
Executable File
#!/bin/bash
|
|
# This script dumps information about the build environment to stdout.
|
|
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
echo "environment variables:"
|
|
printenv | sort
|
|
echo
|
|
|
|
echo "disk usage:"
|
|
df -h
|
|
echo
|
|
|
|
echo "biggest files in the working dir:"
|
|
set +o pipefail
|
|
du . | sort -nr | head -n100
|
|
set -o pipefail
|
|
echo
|