Add Bazel rules for Rust flatbuffers
This required exposing things as a provider to properly build up the
file structure, so I refactored the other languages instead of
duplicating the functionality.
logger_test's sha1s changed because we're generating the .fbs files in
the host configuration now so their paths are different.
Change-Id: Idd60c6360efacfa1e5a5b8658a9d5770f37b02c6
Signed-off-by: Brian Silverman <bsilver16384@gmail.com>
diff --git a/aos/BUILD b/aos/BUILD
index b04bb3d..2bd0ec8 100644
--- a/aos/BUILD
+++ b/aos/BUILD
@@ -396,7 +396,7 @@
],
data = [
"//aos/events:pingpong_config",
- "//aos/events:pong.bfbs",
+ "//aos/events:pong_fbs_reflection_out",
"//aos/testdata:test_configs",
],
target_compatible_with = ["@platforms//os:linux"],
diff --git a/aos/events/logging/logger_test.cc b/aos/events/logging/logger_test.cc
index bb5b41e..5f265e2 100644
--- a/aos/events/logging/logger_test.cc
+++ b/aos/events/logging/logger_test.cc
@@ -3482,9 +3482,9 @@
}
constexpr std::string_view kCombinedConfigSha1(
- "158a244107a7dc637fc5934ac161cb9e6c26195930fd8f82bb351c3ad7cce349");
+ "bcc66bc13a90a4a268649744e244129c5d024f5abd67587dcfbd7158d8abfc44");
constexpr std::string_view kSplitConfigSha1(
- "c73aa7913a9e116ee0a793d8280fac170b7eeea8e7350f45c6ac5bfc4ab018e1");
+ "d97e998164a6f1bf078aad77ef127329728ac9198a13a5ab8d5f30d84a932662");
INSTANTIATE_TEST_SUITE_P(
All, MultinodeLoggerTest,