glean-core/build.rs (3 lines of code) (raw):

fn main() { uniffi::generate_scaffolding("./src/glean.udl").unwrap(); }