chore(m0): initialize cargo workspace, crate skeletons and ci gate
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
//! Flutter <-> Rust bridge (flutter_rust_bridge API lives here from M3 on).
|
||||
|
||||
/// Smoke entry point so the Android build proves the CDylib pipeline works.
|
||||
pub fn sim_version() -> String {
|
||||
sim::SIM_VERSION.to_string()
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn exposes_sim_version() {
|
||||
assert_eq!(sim_version(), "0.1.0");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user