• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

main()1 fn main() {
2     // Forward the profile to the main compilation
3     println!("cargo:rustc-env=PROFILE={}", std::env::var("PROFILE").unwrap());
4     // Don't rebuild even if nothing changed
5     println!("cargo:rerun-if-changed=build.rs");
6     rustc_tools_util::setup_version_info!();
7 }
8