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 3baef9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,12 @@ _install_opa:
sudo chmod +x /usr/bin/opa

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

Please sign in to comment.