Fix lint, and ensure Rust checks get re-run on launcher change

This commit is contained in:
Damien Elmes 2025-06-29 15:54:31 +07:00
parent 3d7dc32777
commit 66f34da7ef
2 changed files with 2 additions and 2 deletions

View file

@ -169,7 +169,7 @@ fn build_rsbridge(build: &mut Build) -> Result<()> {
pub fn check_rust(build: &mut Build) -> Result<()> {
let inputs = inputs![
glob!("{rslib/**,pylib/rsbridge/**,ftl/**,build/**,tools/workspace-hack/**}"),
glob!("{rslib/**,pylib/rsbridge/**,ftl/**,build/**,qt/launcher/**}"),
"Cargo.lock",
"Cargo.toml",
"rust-toolchain.toml",

View file

@ -326,7 +326,7 @@ fn main_menu_loop(state: &State) -> Result<()> {
let previous_version_path =
state.uv_install_root.join("previous-version");
if let Err(e) = write_file(&previous_version_path, &current_version) {
println!("Warning: Could not save previous version: {}", e);
println!("Warning: Could not save previous version: {e}");
}
}