Skip to content

Commit 828e44a

Browse files
authored
Update rules_rust to v0.3.1 (with Rust v1.60.0). (#286)
Signed-off-by: Piotr Sikora <[email protected]>
1 parent 3c703dc commit 828e44a

File tree

4 files changed

+7
-115
lines changed

4 files changed

+7
-115
lines changed

.bazelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,6 @@ build:linux --cxxopt=-std=c++17
6969
build:macos --cxxopt=-std=c++17
7070
build:windows --cxxopt="/std:c++17"
7171

72-
# Enable runfiles on Windows (enabled by default on other platforms).
72+
# Enable symlinks and runfiles on Windows (enabled by default on other platforms).
73+
startup --windows_enable_symlinks
7374
build:windows --enable_runfiles

bazel/dependencies.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def proxy_wasm_cpp_host_dependencies():
3434
"wasm32-unknown-unknown",
3535
"wasm32-wasi",
3636
],
37-
version = "1.58.1",
37+
version = "1.60.0",
3838
)
3939
rust_repository_set(
4040
name = "rust_linux_s390x",
@@ -43,7 +43,7 @@ def proxy_wasm_cpp_host_dependencies():
4343
"wasm32-unknown-unknown",
4444
"wasm32-wasi",
4545
],
46-
version = "1.58.1",
46+
version = "1.60.0",
4747
)
4848

4949
zig_register_toolchains(

bazel/external/rules_rust.patch

Lines changed: 0 additions & 107 deletions
This file was deleted.

bazel/repositories.bzl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,10 @@ def proxy_wasm_cpp_host_repositories():
6666
maybe(
6767
http_archive,
6868
name = "rules_rust",
69-
sha256 = "6c26af1bb98276917fcf29ea942615ab375cf9d3c52f15c27fdd176ced3ee906",
70-
strip_prefix = "rules_rust-b3ddf6f096887b757ab1a661662a95d6b2699fa7",
69+
sha256 = "0c57c91a20df12d2b1e5db6c58fd6df21bce0c73940eeafbcb87761c14c28878",
70+
strip_prefix = "rules_rust-0.3.1",
7171
# NOTE: Update Rust version in bazel/dependencies.bzl.
72-
url = "https://github.com/bazelbuild/rules_rust/archive/b3ddf6f096887b757ab1a661662a95d6b2699fa7.tar.gz",
73-
patches = ["@proxy_wasm_cpp_host//bazel/external:rules_rust.patch"],
74-
patch_args = ["-p1"],
72+
url = "https://github.com/bazelbuild/rules_rust/archive/0.3.1.tar.gz",
7573
)
7674

7775
# Core.

0 commit comments

Comments
 (0)