From 715829cc9a56864b081b97feb3a7ee61805f5938 Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Thu, 2 Feb 2023 14:10:06 +0000 Subject: [PATCH] Add 'rustup update' to the build chain. --- src/build_rust.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/build_rust.sh b/src/build_rust.sh index 46d39744..4dacd7a5 100755 --- a/src/build_rust.sh +++ b/src/build_rust.sh @@ -18,6 +18,10 @@ TARGET=release # Enable this if you are building on the same computer you are running on RUSTFLAGS="-C target-cpu=native" +# Check for Rust version +echo "Checking that Rust is uptodate" +rustup update + # Start building echo "Please wait while the system is compiled. Service will not be interrupted during this stage." PROGS="lqosd lqtop xdp_iphash_to_cpu_cmdline xdp_pping lqos_node_manager webusers"