18 строки
505 B
Rust
18 строки
505 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
use glean_build::Builder;
|
|
|
|
pub fn main() {
|
|
#[cfg(feature = "uniffi-bindings")]
|
|
uniffi::generate_scaffolding("./src/nimbus.udl").unwrap();
|
|
|
|
Builder::default()
|
|
.file("./metrics.yaml")
|
|
.generate()
|
|
.unwrap();
|
|
|
|
println!("cargo:rerun-if-changed=./metrics.yaml");
|
|
}
|