diff options
author | sterlingjensen <5555776+sterlingjensen@users.noreply.github.com> | 2019-11-30 00:11:43 -0600 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2019-11-30 07:11:43 +0100 |
commit | 5f98de46921a878bc13397859eadd7ed4f7c2b44 (patch) | |
tree | d68792f98448a52e6816d420856d446c79aae3f5 /alacritty/build.rs | |
parent | 0d637a096a53a0b8da2cfb6a8d8a0050cc4f2b34 (diff) | |
download | r-alacritty-5f98de46921a878bc13397859eadd7ed4f7c2b44.tar.gz r-alacritty-5f98de46921a878bc13397859eadd7ed4f7c2b44.tar.bz2 r-alacritty-5f98de46921a878bc13397859eadd7ed4f7c2b44.zip |
Move icon embed step from winpty to Alacritty
Diffstat (limited to 'alacritty/build.rs')
-rw-r--r-- | alacritty/build.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/alacritty/build.rs b/alacritty/build.rs index 3c58b0cf..16f3a2b3 100644 --- a/alacritty/build.rs +++ b/alacritty/build.rs @@ -18,6 +18,9 @@ use std::env; use std::fs::File; use std::path::Path; +#[cfg(windows)] +use embed_resource; + fn main() { let hash = rustc_tools_util::get_commit_hash().unwrap_or_default(); println!("cargo:rustc-env=GIT_HASH={}", hash); @@ -28,4 +31,7 @@ fn main() { Registry::new(Api::Gl, (4, 5), Profile::Core, Fallbacks::All, ["GL_ARB_blend_func_extended"]) .write_bindings(GlobalGenerator, &mut file) .unwrap(); + + #[cfg(windows)] + embed_resource::compile("../extra/windows/windows.rc"); } |