File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
1
load("@rules_cc//cc:defs.bzl", "cc_library")
2
- load("@rules_rust//rust:rust .bzl", "rust_library ")
2
+ load("@rules_rust//rust:defs .bzl", "rust_static_library ")
3
3
4
4
licenses(["notice"]) # Apache 2
5
5
6
6
package(default_visibility = ["//visibility:public"])
7
7
8
- rust_library (
8
+ rust_static_library (
9
9
name = "rust_c_api",
10
10
srcs = glob(["crates/c-api/src/**/*.rs"]),
11
11
crate_features = [],
12
12
crate_root = "crates/c-api/src/lib.rs",
13
- crate_type = "staticlib",
14
13
edition = "2018",
15
14
proc_macro_deps = [
16
15
"@proxy_wasm_cpp_host//bazel/cargo:wasmtime_c_api_macros",
Original file line number Diff line number Diff line change @@ -90,9 +90,9 @@ def proxy_wasm_cpp_host_repositories():
90
90
91
91
http_archive (
92
92
name = "rules_rust" ,
93
- sha256 = "d195a85d38ee2dd7aecfedba6c9814a2ff22f968abac0818fd91e35c5b7aca6f " ,
94
- strip_prefix = "rules_rust-6f79458dee68d691d6a5aee67b06a620bdf9293f " ,
95
- url = "https://github.com/bazelbuild/rules_rust/archive/6f79458dee68d691d6a5aee67b06a620bdf9293f .tar.gz" ,
93
+ sha256 = "8a2052e8ec707aa04a6b9e72bfc67fea44e915ecab1d2d0a4835ad51c2410c36 " ,
94
+ strip_prefix = "rules_rust-b16c26ba5faf1c58ebe94582afd20567ce676e6d " ,
95
+ url = "https://github.com/bazelbuild/rules_rust/archive/b16c26ba5faf1c58ebe94582afd20567ce676e6d .tar.gz" ,
96
96
)
97
97
98
98
http_archive (
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- load ("@rules_rust//rust:rust .bzl" , "rust_binary" )
15
+ load ("@rules_rust//rust:defs .bzl" , "rust_binary" )
16
16
17
17
def _wasm_rust_transition_impl (settings , attr ):
18
18
return {
You can’t perform that action at this time.
0 commit comments