mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Fix lint, and ensure Rust checks get re-run on launcher change
This commit is contained in:
parent
3d7dc32777
commit
66f34da7ef
2 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ fn build_rsbridge(build: &mut Build) -> Result<()> {
|
||||||
|
|
||||||
pub fn check_rust(build: &mut Build) -> Result<()> {
|
pub fn check_rust(build: &mut Build) -> Result<()> {
|
||||||
let inputs = inputs![
|
let inputs = inputs![
|
||||||
glob!("{rslib/**,pylib/rsbridge/**,ftl/**,build/**,tools/workspace-hack/**}"),
|
glob!("{rslib/**,pylib/rsbridge/**,ftl/**,build/**,qt/launcher/**}"),
|
||||||
"Cargo.lock",
|
"Cargo.lock",
|
||||||
"Cargo.toml",
|
"Cargo.toml",
|
||||||
"rust-toolchain.toml",
|
"rust-toolchain.toml",
|
||||||
|
|
|
@ -326,7 +326,7 @@ fn main_menu_loop(state: &State) -> Result<()> {
|
||||||
let previous_version_path =
|
let previous_version_path =
|
||||||
state.uv_install_root.join("previous-version");
|
state.uv_install_root.join("previous-version");
|
||||||
if let Err(e) = write_file(&previous_version_path, ¤t_version) {
|
if let Err(e) = write_file(&previous_version_path, ¤t_version) {
|
||||||
println!("Warning: Could not save previous version: {}", e);
|
println!("Warning: Could not save previous version: {e}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue