Print the rust version when building bpf programs (#16181)

This commit is contained in:
Justin Starry 2021-03-29 14:17:08 +08:00 committed by GitHub
parent 5e5b63712b
commit abada56ba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ if [[ ! -e bpf-tools-$version.md || ! -e bpf-tools ]]; then
fi
touch bpf-tools-$version.md
set -ex
./bpf-tools/rust/bin/rustc --version
./bpf-tools/rust/bin/rustc --print sysroot
set +e
rustup toolchain uninstall bpf