-
Notifications
You must be signed in to change notification settings - Fork 41
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
The build::SHORT_COMMIT is not latest #95
Comments
Hi @wisarmy. I tested it myself, at least it's not a bug. Ref link: |
Yes, But it's always inconvenient. fn main() -> shadow_rs::SdResult<()> {
println!("cargo:rerun-if-changed=.");
shadow_rs::new()
} Can be used as an optimization option in the future. Thanks @baoyachi |
Oh, |
Yes, really is not good. I found anthor crate, It's expected. I don't know how it's done. cargo rebuilt when git is committed, only files are changed not rebuilt |
code
Details of the problem
The git latest hash is
ef8195a97d0875940d591ec160aea13619a6c4d4
, but printlnbuild::SHORT_COMMIT
is an old hashebb4cc3170d56efb7a53ae9be8ab29ba339791f2
. Thebuild::SHORT_COMMIT
is updated only when the target directory is deletedThe command-line log is as follows:
shadow-rs version
The text was updated successfully, but these errors were encountered: