mirror of
https://github.com/encounter/bdiff.git
synced 2026-03-30 10:57:46 -07:00
18 lines
340 B
Rust
18 lines
340 B
Rust
use anyhow::Result;
|
|
use vergen::EmitBuilder;
|
|
|
|
fn main() -> Result<()> {
|
|
#[cfg(windows)]
|
|
{
|
|
winres::WindowsResource::new()
|
|
.set_icon("assets/icon.ico")
|
|
.compile()?;
|
|
}
|
|
EmitBuilder::builder()
|
|
.fail_on_error()
|
|
.all_build()
|
|
.all_cargo()
|
|
.all_git()
|
|
.emit()
|
|
}
|