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/init.h b/aos/init.h
index 1e2b7a4..29480eb 100644
--- a/aos/init.h
+++ b/aos/init.h
@@ -10,6 +10,11 @@
// ShmEventLoop can confirm the world was initialized before running.
bool IsInitialized();
+// A special initialization function that initializes the C++ parts in a way
+// compatible with Rust. This requires careful coordination with `:init_rs`, do
+// not use it from anywhere else.
+void InitFromRust(const char *argv0);
+
} // namespace aos
#endif // AOS_INIT_H_