scx-upstream/rust/scx_utils/build.rs

18 lines
411 B
Rust
Raw Normal View History

2023-11-29 01:20:01 +00:00
// Copyright (c) Meta Platforms, Inc. and affiliates.
//
2023-11-29 01:20:01 +00:00
// This software may be used and distributed according to the terms of the
// GNU General Public License version 2.
use vergen::EmitBuilder;
include!("src/builder.rs");
fn main() {
Builder::new().build();
EmitBuilder::builder()
.git_sha(true)
.git_dirty(true)
.cargo_target_triple()
.emit()
.unwrap();
}