Skip to content

Commit

Permalink
[Chore] Update rust toolchain version
Browse files Browse the repository at this point in the history
Problem: new recommended Rust version is 1.64.0 now
for octez.

Solution: Update it.
  • Loading branch information
krendelhoff2 committed Aug 19, 2023
1 parent d2d2da3 commit d698f76
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Formula/tezos-accuser-Proxford.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-accuser-PtNairob.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-admin-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-baker-Proxford.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-baker-PtNairob.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-codec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-signer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-smart-rollup-client-Proxford.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-smart-rollup-client-PtNairob.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-smart-rollup-node-Proxford.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-smart-rollup-node-PtNairob.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def make_deps
system "curl", "-L", "https://github.com/ocaml/opam/releases/download/2.0.9/opam-2.0.9-#{arch}-macos", "--create-dirs", "-o", "#{ENV["HOME"]}/.opam-bin/opam"
system "chmod", "+x", "#{ENV["HOME"]}/.opam-bin/opam"
ENV["PATH"]="#{ENV["HOME"]}/.opam-bin:#{ENV["PATH"]}"
system "rustup-init", "--default-toolchain", "1.60.0", "-y"
system "rustup-init", "--default-toolchain", "1.64.0", "-y"
system "opam", "init", "--bare", "--debug", "--auto-setup", "--disable-sandboxing"
system ["source .cargo/env", "make build-deps"].join(" && ")
end
Expand Down
2 changes: 1 addition & 1 deletion docker/build/build-rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ set -euo pipefail

wget https://sh.rustup.rs/rustup-init.sh
chmod +x rustup-init.sh
./rustup-init.sh --profile minimal --default-toolchain 1.60.0 -y
./rustup-init.sh --profile minimal --default-toolchain 1.64.0 -y

0 comments on commit d698f76

Please sign in to comment.