third_party/rust: update rules_rust and deps
This is required for rules_rust to work with CC toolchains.
Change-Id: I15f20c7bde09697fda248f7107be8bcd00e24d57
Reviewed-on: https://review.monogon.dev/c/monogon/+/1073
Tested-by: Jenkins CI
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/third_party/rust/cargo/remote/BUILD.notify-4.0.17.bazel b/third_party/rust/cargo/remote/BUILD.notify-4.0.17.bazel
index 05e5b07..6fb88b7 100644
--- a/third_party/rust/cargo/remote/BUILD.notify-4.0.17.bazel
+++ b/third_party/rust/cargo/remote/BUILD.notify-4.0.17.bazel
@@ -10,9 +10,10 @@
# buildifier: disable=load
load(
- "@rules_rust//rust:rust.bzl",
+ "@rules_rust//rust:defs.bzl",
"rust_binary",
"rust_library",
+ "rust_proc_macro",
"rust_test",
)
@@ -39,10 +40,7 @@
srcs = glob(["**/*.rs"]),
aliases = {
},
- crate_features = [
- ],
crate_root = "src/lib.rs",
- crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
@@ -50,17 +48,17 @@
],
tags = [
"cargo-raze",
+ "crate-name=notify",
"manual",
],
version = "4.0.17",
# buildifier: leave-alone
deps = [
- "@raze__bitflags__1_2_1//:bitflags",
- "@raze__filetime__0_2_14//:filetime",
- "@raze__libc__0_2_97//:libc",
+ "@raze__bitflags__1_3_2//:bitflags",
+ "@raze__filetime__0_2_19//:filetime",
+ "@raze__libc__0_2_139//:libc",
"@raze__walkdir__2_3_2//:walkdir",
] + selects.with_or({
- # cfg(target_os = "linux")
(
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
): [