Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build.rs keep rerun #68

Open
FancyQian opened this issue Jul 1, 2024 · 1 comment
Open

Build.rs keep rerun #68

FancyQian opened this issue Jul 1, 2024 · 1 comment

Comments

@FancyQian
Copy link

I found the Build.rs keep rerun, it will make build slow.

fn main() {
    println!("cargo:rerun-if-changed=Cargo.toml");
    println!("cargo:rerun-if-changed=patches/");
    cargo_patch::patch().expect("Failed while patching");
}
@FancyQian
Copy link
Author

FancyQian commented Jul 1, 2024

   Compiling serde_json v1.0.119 (/Users/fancy/xxx/target/patch/serde_json-1.0.119)
   Compiling crates-io v0.37.0
   Compiling rustfix v0.6.1
   Compiling pasetors v0.6.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant