@@ -3,34 +3,22 @@ workspace(name = "proxy_wasm_rust_sdk")
3
3
load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
4
4
5
5
http_archive (
6
- name = "bazel_skylib" ,
7
- sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44" ,
6
+ name = "io_bazel_rules_rust" ,
7
+ sha256 = "17dbf791f4dab0fd4496ce5345af35e9ce2f6d011c1c8423436da517d019a3ea" ,
8
+ strip_prefix = "rules_rust-2f97db595b05b1ee8cc44bde5bdf03c00bd169fb" ,
8
9
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" ,
10
+ # Master branch as of 2020-11-05
11
+ "https://github.com/bazelbuild/rules_rust/archive/2f97db595b05b1ee8cc44bde5bdf03c00bd169fb .tar.gz" ,
11
12
],
12
13
)
13
14
14
- load ("@bazel_skylib//:workspace.bzl" , "bazel_skylib_workspace" )
15
-
16
- bazel_skylib_workspace ()
17
-
18
- http_archive (
19
- 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" ,
25
- )
26
-
27
15
load ("@io_bazel_rules_rust//rust:repositories.bzl" , "rust_repositories" )
28
16
29
17
rust_repositories ()
30
18
31
- load ("@io_bazel_rules_rust//:workspace.bzl" , "bazel_version " )
19
+ load ("@io_bazel_rules_rust//:workspace.bzl" , "rust_workspace " )
32
20
33
- bazel_version ( name = "bazel_version" )
21
+ rust_workspace ( )
34
22
35
23
load ("//bazel/cargo:crates.bzl" , "raze_fetch_remote_crates" )
36
24
0 commit comments