pub fn save_last_build_profile( app_dir: &Path, profile: Option<&str>, ) -> Result<()>
Saves the build profile to the “last build profile” file.