mirror of
https://github.com/sched-ext/scx.git
synced 2024-12-14 20:37:16 +00:00
f7c193e528
- Update scx_utils/build.rs so that 12 char SHA1 is generated instead of full one. - Add --version to scx_rusty. Use custom one as we don't want to use the default cargo version one.
18 lines
411 B
Rust
18 lines
411 B
Rust
// Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
//
|
|
// 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();
|
|
}
|