tool/goexe: refactor to use windows_sys
Updates #19255 Signed-off-by: Nathan Perry <nathan@tailscale.com> Change-Id: Idf69f23b5a61417d5fa3638a276d64856a6a6964
This commit is contained in:
committed by
Brad Fitzpatrick
parent
8a9840d6a8
commit
33cd8ea86b
@@ -3,6 +3,19 @@ name = "go"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
windows-sys = { version = "0.61", features = [
|
||||
"Win32",
|
||||
"Win32_System_LibraryLoader",
|
||||
"Win32_System_Environment",
|
||||
"Win32_Storage_FileSystem",
|
||||
"Win32_System_Threading",
|
||||
"Win32_Security",
|
||||
"Win32_System_SystemInformation",
|
||||
"Win32_System_IO",
|
||||
"Win32_System_Console",
|
||||
] }
|
||||
|
||||
[profile.release]
|
||||
opt-level = "z"
|
||||
lto = true
|
||||
|
||||
Reference in New Issue
Block a user