Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Add rustup to all linux users
Browse files Browse the repository at this point in the history
  • Loading branch information
baluchicken committed Sep 28, 2023
1 parent fc1030a commit dcbf1a0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,10 @@ _install_opa:
sudo chmod +x /usr/bin/opa

_install_wasm_target:
sudo snap install rustup --classic
rustup default stable
rustup target add wasm32-unknown-unknown
sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
sudo ln -s $$HOME/.cargo/bin/* /usr/bin/
sudo rustup default stable
sudo rustup target add wasm32-unknown-unknown

setup-vm: _debian_deps _install_opa _install_wasm_target
sudo cp /sys/kernel/btf/vmlinux /usr/lib/modules/`uname -r`/build/
Expand Down

0 comments on commit dcbf1a0

Please sign in to comment.