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 11load("@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 ")
33
44licenses(["notice"]) # Apache 2
55
66package(default_visibility = ["//visibility:public"])
77
8- rust_library (
8+ rust_static_library (
99 name = "rust_c_api",
1010 srcs = glob(["crates/c-api/src/**/*.rs"]),
1111 crate_features = [],
1212 crate_root = "crates/c-api/src/lib.rs",
13- crate_type = "staticlib",
1413 edition = "2018",
1514 proc_macro_deps = [
1615 "@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():
9090
9191 http_archive (
9292 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" ,
9696 )
9797
9898 http_archive (
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- load ("@rules_rust//rust:rust .bzl" , "rust_binary" )
15+ load ("@rules_rust//rust:defs .bzl" , "rust_binary" )
1616
1717def _wasm_rust_transition_impl (settings , attr ):
1818 return {
You can’t perform that action at this time.
0 commit comments