Skip to content

Commit

Permalink
symlink Go binary
Browse files Browse the repository at this point in the history
  • Loading branch information
pront committed Feb 28, 2025
1 parent 0927f9f commit 5e14b82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/cross/bootstrap-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ GO_TAR_FILE="go${GO_VERSION}.linux-amd64.tar.gz"
wget https://go.dev/dl/${GO_TAR_FILE}
tar -C /usr/local -xzf ${GO_TAR_FILE}
rm ${GO_TAR_FILE}
ln -s /usr/local/go/bin/go /usr/local/bin/go

# Set Go binary in PATH globally
echo "export PATH=\$PATH:/usr/local/go/bin" >> /etc/profile
. /etc/profile
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
cargo install --force --locked bindgen-cli

0 comments on commit 5e14b82

Please sign in to comment.