zellij 0.44.1

A terminal workspace with batteries included
1
2
3
4
5
6
7
8
9
10
11
12
13
fn main() {
    // The clap-derived `augment_subcommands` for `CliAction` (~70 variants)
    // produces a >1 MB stack frame in debug mode, overflowing the Windows
    // default 1 MB main-thread stack.  Increase it to 8 MB to match Linux.
    // Release builds optimize the frame down, so this is only needed for non-release profiles.
    if cfg!(target_os = "windows") && std::env::var("PROFILE").unwrap_or_default() != "release" {
        println!("cargo:rustc-link-arg=/STACK:8388608");
    }

    // Embed the application icon into the Windows executable.
    #[cfg(target_os = "windows")]
    let _ = embed_resource::compile("assets/zellij.rc", embed_resource::NONE);
}