-
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
Remove the generated Cargo.lock after build #184
Comments
Currently work it around by add this line to the let _ = std::fs::remove_file(Path::new(env!("CARGO_MANIFEST_DIR")).join("Cargo.lock")); Ref - tisonkun/morax#4 |
BTW |
@tisonkun The next version will fix it. |
@baoyachi Cool! Would you please link the related changes to this issue so that we can cross ref each other? |
No problem. |
Cheers! Thank you! |
Update it. Thank you! |
It seems this code snippet will generate a
Cargo.lock
file that failscargo publish
as described in #135.shadow-rs/src/env.rs
Lines 122 to 130 in 4358b4a
@weihanglo suggested in rust-lang/cargo#12195 that we may delete the
Cargo.lock
after build.The text was updated successfully, but these errors were encountered: