Initial web support
This commit is contained in:
parent
4cd9f5acc3
commit
cbcda28719
17 changed files with 238 additions and 143 deletions
8
build.rs
8
build.rs
|
@ -1,12 +1,12 @@
|
|||
#[cfg(target_os = "windows")]
|
||||
#[cfg(windows)]
|
||||
extern crate winres;
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
#[cfg(windows)]
|
||||
fn main() {
|
||||
let mut res = winres::WindowsResource::new();
|
||||
res.set_icon("icon.ico");
|
||||
res.compile().unwrap();
|
||||
let _ = res.compile();
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
#[cfg(not(windows))]
|
||||
fn main() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue