mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-25 18:33:24 +00:00
13 lines
350 B
Rust
13 lines
350 B
Rust
//! This implementation is from rust-clippy
|
|
|
|
fn main() {
|
|
// Forward the profile to the main compilation
|
|
println!(
|
|
"cargo:rustc-env=PROFILE={}",
|
|
std::env::var("PROFILE").unwrap()
|
|
);
|
|
// Don't rebuild even if nothing changed
|
|
println!("cargo:rerun-if-changed=build.rs");
|
|
rustc_tools_util::setup_version_info!();
|
|
}
|