Skip to content

Commit

Permalink
Remove rerun-if-env-changed
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Aug 14, 2023
1 parent cd200a2 commit 46ef7ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ use std::env;

fn main() {
let profile = env::var("PROFILE").unwrap();
println!("cargo:rustc-env=PROFILE={profile}");
println!("cargo:rerun-if-env-changed=PROFILE");
println!("cargo:rerun-if-changed=build.rs");
}

0 comments on commit 46ef7ba

Please sign in to comment.