Wrap part of //aos:init for Rust
Just enough to run tests for now.
Change-Id: I714fbabfe713b34494a0a47a5679c409cce211c4
Signed-off-by: Brian Silverman <bsilver16384@gmail.com>
diff --git a/aos/BUILD b/aos/BUILD
index a1c92e7..5fcb7cf 100644
--- a/aos/BUILD
+++ b/aos/BUILD
@@ -178,6 +178,18 @@
],
)
+autocxx_library(
+ name = "init_rs",
+ srcs = ["init.rs"],
+ crate_name = "aos_init",
+ libs = [
+ ":init",
+ ],
+ override_cc_toolchain = "@llvm_toolchain//:cc-clang-x86_64-linux",
+ target_compatible_with = ["//tools/platforms/rust:has_support"],
+ visibility = ["//visibility:public"],
+)
+
cc_library(
name = "realtime",
srcs = [