Migrate cranelift-jit from winapi to windows-sys (#4363)
* Migrate cranelift-jit from `winapi` to `windows-sys` Following up on #4346, this migrates one more place in the tree from winapi to windows-sys.
This commit is contained in:
@@ -21,8 +21,13 @@ target-lexicon = "0.12"
|
||||
memmap2 = { version = "0.2.1", optional = true }
|
||||
log = { version = "0.4.6", default-features = false }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
winapi = { version = "0.3", features = ["winbase", "memoryapi"] }
|
||||
[target.'cfg(windows)'.dependencies.windows-sys]
|
||||
version = "0.36.0"
|
||||
features = [
|
||||
"Win32_Foundation",
|
||||
"Win32_System_LibraryLoader",
|
||||
"Win32_System_Memory",
|
||||
]
|
||||
|
||||
[features]
|
||||
selinux-fix = ['memmap2']
|
||||
|
||||
Reference in New Issue
Block a user