2023-09-25 19:13:23 +00:00
|
|
|
// Copyright 2023 Oxide Computer Company
|
2023-01-17 03:21:36 +00:00
|
|
|
|
2023-09-25 19:13:23 +00:00
|
|
|
fn main() {
|
2023-01-17 03:21:36 +00:00
|
|
|
let src = project_root::get_project_root().unwrap();
|
|
|
|
let dst = std::path::Path::new(&std::env::var("OUT_DIR").unwrap())
|
|
|
|
.join("built.rs");
|
2023-09-25 19:13:23 +00:00
|
|
|
built::write_built_file_with_opts(Some(&src), &dst)
|
2023-01-17 03:21:36 +00:00
|
|
|
.expect("Failed to acquire build-time information");
|
|
|
|
}
|