Windows gpui platform (#8490)

First implementation of gpui platform for Windows.

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
白山風露 2024-03-04 03:53:22 +09:00 committed by GitHub
parent a88df2c103
commit 69e0474ebb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 1610 additions and 33 deletions

View file

@ -43,4 +43,9 @@ fn main() {
}
}
}
// todo!("windows"): This is to avoid stack overflow. Remove it when solved.
if std::env::var("CARGO_CFG_TARGET_ENV").ok() == Some("msvc".to_string()) {
println!("cargo:rustc-link-arg=/stack:{}", 8 * 1024 * 1024);
}
}