Skip to content

Commit adb8fdb

Browse files
authored
Update rules_rust to latest. (#46)
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
1 parent d159da4 commit adb8fdb

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

WORKSPACE

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,20 @@ workspace(name = "proxy_wasm_rust_sdk")
22

33
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44

5-
http_archive(
6-
name = "bazel_skylib",
7-
sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44",
8-
urls = [
9-
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
10-
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
11-
],
12-
)
13-
14-
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
15-
16-
bazel_skylib_workspace()
17-
185
http_archive(
196
name = "io_bazel_rules_rust",
20-
sha256 = "484a2b2b67cd2d1fa1054876de7f8d291c4b203fd256bc8cbea14d749bb864ce",
21-
# Last commit where "out_binary = True" works.
22-
# See: https://github.com/bazelbuild/rules_rust/issues/386
23-
strip_prefix = "rules_rust-fda9a1ce6482973adfda022cadbfa6b300e269c3",
24-
url = "https://github.com/bazelbuild/rules_rust/archive/fda9a1ce6482973adfda022cadbfa6b300e269c3.tar.gz",
7+
sha256 = "17dbf791f4dab0fd4496ce5345af35e9ce2f6d011c1c8423436da517d019a3ea",
8+
strip_prefix = "rules_rust-2f97db595b05b1ee8cc44bde5bdf03c00bd169fb",
9+
url = "https://github.com/bazelbuild/rules_rust/archive/2f97db595b05b1ee8cc44bde5bdf03c00bd169fb.tar.gz",
2510
)
2611

2712
load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories")
2813

2914
rust_repositories()
3015

31-
load("@io_bazel_rules_rust//:workspace.bzl", "bazel_version")
16+
load("@io_bazel_rules_rust//:workspace.bzl", "rust_workspace")
3217

33-
bazel_version(name = "bazel_version")
18+
rust_workspace()
3419

3520
load("//bazel/cargo:crates.bzl", "raze_fetch_remote_crates")
3621

0 commit comments

Comments
 (0)