Revert "Print the rust version when building bpf programs (#16181) (#16182)" (#16200)

This reverts commit cc7342a8ef.
This commit is contained in:
Tyera Eulberg
2021-03-29 15:00:25 -06:00
committed by GitHub
parent cc7342a8ef
commit 72ff8973a2

View File

@ -192,18 +192,7 @@ if [[ ! -e rust-bpf-sysroot-$version.md || ! -e rust-bpf-sysroot ]]; then
if [[ $exitcode -ne 0 ]]; then
exit 1
fi
<<<<<<< HEAD
touch rust-bpf-sysroot-$version.md
=======
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
set -e
rustup toolchain link bpf bpf-tools/rust
>>>>>>> abada56ba... Print the rust version when building bpf programs (#16181)
fi
exit 0