Skip to content

Commit

Permalink
chore(build): bump rust toolchain to 1.82.0 (#13905)
Browse files Browse the repository at this point in the history
ATC-Router requires rust version >= 1.81.0, so we bump to 1.82.0
  • Loading branch information
Oyami-Srk authored Nov 21, 2024
1 parent 9918f6d commit 9eaf491
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 87 deletions.
19 changes: 18 additions & 1 deletion build/kong_crate/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,34 @@ def kong_crate_repositories(cargo_home_isolated = True):

rules_rust_dependencies()

# To get the sha256s, please check out the
# https://static.rust-lang.org/dist/channel-rust-stable.toml
rust_register_toolchains(
edition = "2021",
extra_target_triples = ["aarch64-unknown-linux-gnu"],
sha256s = {
"rustc-1.82.0-x86_64-unknown-linux-gnu.tar.xz": "90b61494f5ccfd4d1ca9a5ce4a0af49a253ca435c701d9c44e3e44b5faf70cb8",
"clippy-1.82.0-x86_64-unknown-linux-gnu.tar.xz": "ea4fbf6fbd3686d4f6e2a77953e2d42a86ea31e49a5f79ec038762c413b15577",
"cargo-1.82.0-x86_64-unknown-linux-gnu.tar.xz": "97aeae783874a932c4500f4d36473297945edf6294d63871784217d608718e70",
"llvm-tools-1.82.0-x86_64-unknown-linux-gnu.tar.xz": "29f9becd0e5f83196f94779e9e06ab76e0bd3a14bcdf599fabedbd4a69d045be",
"rust-std-1.82.0-x86_64-unknown-linux-gnu.tar.xz": "2eca3d36f7928f877c334909f35fe202fbcecce109ccf3b439284c2cb7849594",
},
versions = ["1.82.0"],
)

rust_repository_set(
name = "rust_linux_arm64_linux_tuple",
edition = "2021",
exec_triple = "x86_64-unknown-linux-gnu",
extra_target_triples = ["aarch64-unknown-linux-gnu"],
versions = ["stable"],
sha256s = {
"rustc-1.82.0-aarch64-unknown-linux-gnu.tar.xz": "2958e667202819f6ba1ea88a2a36d7b6a49aad7e460b79ebbb5cf9221b96f599",
"clippy-1.82.0-aarch64-unknown-linux-gnu.tar.xz": "1e01808028b67a49f57925ea72b8a2155fbec346cd694d951577c63312ba9217",
"cargo-1.82.0-aarch64-unknown-linux-gnu.tar.xz": "05c0d904a82cddb8a00b0bbdd276ad7e24dea62a7b6c380413ab1e5a4ed70a56",
"llvm-tools-1.82.0-aarch64-unknown-linux-gnu.tar.xz": "db793edd8e8faef3c9f2aa873546c6d56b3421b2922ac9111ba30190b45c3b5c",
"rust-std-1.82.0-aarch64-unknown-linux-gnu.tar.xz": "1359ac1f3a123ae5da0ee9e47b98bb9e799578eefd9f347ff9bafd57a1d74a7f",
},
versions = ["1.82.0"],
)

crate_universe_dependencies()
Expand Down
40 changes: 20 additions & 20 deletions crate_locks/atc_router.Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

1 comment on commit 9eaf491

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:9eaf491ae79ae6c6544e8c86efa654f7ea13217a
Artifacts available https://github.com/Kong/kong/actions/runs/11950061259

Please sign in to comment.