/* 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/. */ fn main() { let format = if cfg!(feature = "glean-fog") { "rust" } else { "rust_sym" }; glean_build::Builder::default() .file("metrics.yaml") .file("pings.yaml") .format(format) .generate() .expect("Error generating Glean Rust bindings"); }