Skip to content

Commit

Permalink
VARIANT was moved to windows::Win32::System::Variant
Browse files Browse the repository at this point in the history
  • Loading branch information
pronebird committed Feb 24, 2025
1 parent 19cbc0b commit bb595e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions nym-vpn-core/crates/nym-firewall/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ widestring.workspace = true

[target.'cfg(windows)'.dependencies.windows-sys]
workspace = true
features = ["Win32_Foundation"]
features = ["Win32_Foundation", "Win32_Globalization"]

[target.'cfg(windows)'.dependencies.windows]
workspace = true
features = ["Win32", "Win32_System", "Win32_System_Wmi"]
features = ["Win32", "Win32_System", "Win32_System_Wmi", "Win32_System_Variant"]
7 changes: 4 additions & 3 deletions nym-vpn-core/crates/nym-firewall/src/windows/hyperv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
// Copyright 2025 Nym Technologies SA <contact@nymtech.net>
// SPDX-License-Identifier: GPL-3.0-only

use windows::Win32::System::Wmi::{
IWbemClassObject, WBEM_E_NOT_FOUND, WBEM_FLAG_RETURN_WBEM_COMPLETE,
use windows::Win32::System::{
Variant::VARIANT,
Wmi::{IWbemClassObject, WBEM_E_NOT_FOUND, WBEM_FLAG_RETURN_WBEM_COMPLETE},
};
use windows_core::{BSTR, PCWSTR, VARIANT};
use windows_core::{BSTR, PCWSTR};
use wmi::result_enumerator::IWbemClassWrapper;

/// Name of the blocking Hyper-V rule.
Expand Down

0 comments on commit bb595e1

Please sign in to comment.