Files
picoforge/build.rs
Suyog Tandel 20c56d947d docs: add module/item docs across all 43 source files and enable #![deny(missing_docs)]
- Add //! module-level headers and /// item-level docs to every source file
- Fix unresolved doc links in hal/mod.rs, ui/mod.rs, transport/pcsc.rs, transport/fido.rs
- Add #![deny(missing_docs)] at crate root to enforce doc completeness in CI
2026-07-08 22:57:20 +05:30

20 lines
534 B
Rust

//! Build script for embedding application resources.
//!
//! On Windows, embeds the application icon into the PE binary so that
//! the `.exe` and taskbar show the correct icon. On Unix this is a no-op.
#[cfg(windows)]
#[allow(clippy::single_component_path_imports)]
use tauri_winres;
/// Embed the application icon into the Windows PE binary.
#[cfg(windows)]
fn main() {
let mut res = tauri_winres::WindowsResource::new();
res.set_icon("static/appIcons/icon.ico");
res.compile().unwrap();
}
#[cfg(unix)]
fn main() {}