Build a standalone Windows desktop with opt-in project removal

This commit is contained in:
gloamxun committed 2026-12-02 18:20:38 +08:00
1 parent 2c5b9b5f10
commit 2c99cade7d
24 files changed
+1404 -168

No files matched your search

+9 -1
View File
@@ -59,7 +59,15 @@ pub(super) fn write(path: &Path, key: &[u8; 32], output: &[u8]) -> io::Result<()
result
}
#[cfg(not(all(target_os = "linux", target_arch = "x86_64", target_env = "gnu")))]
#[cfg(windows)]
pub(super) fn tool_identity(_scratch: &Path) -> Option<[u8; 32]> {
super::windows::tool_identity()
}
#[cfg(not(any(
windows,
all(target_os = "linux", target_arch = "x86_64", target_env = "gnu")
)))]
pub(super) fn tool_identity(_scratch: &Path) -> Option<[u8; 32]> {
None
}