Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ process {
Install-Clippy -UseCFS:$UseCFS -Architecture $Architecture @VerboseParam
}

if (!$SkipBuild -and !$SkipLinkCheck -and $IsWindows) {
Write-BuildProgress @progressParams -Status "Ensuring Windows C++ build tools are available"
Install-WindowsCPlusPlusBuildTools @VerboseParam
}

if (-not ($SkipBuild -and $Test -and $ExcludeRustTests)) {
Write-BuildProgress @progressParams -Status 'Ensuring Protobuf is available'
Install-Protobuf @VerboseParam
Expand All @@ -212,10 +217,6 @@ process {
}
}

if (!$SkipBuild -and !$SkipLinkCheck -and $IsWindows) {
Write-BuildProgress @progressParams -Status "Ensuring Windows C++ build tools are available"
Install-WindowsCPlusPlusBuildTools @VerboseParam
}
#endregion Setup

if (!$SkipBuild) {
Expand Down
8 changes: 4 additions & 4 deletions resources/dism_dsc/src/dism.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ unsafe extern "system" {
) -> *mut c_void;
}

#[repr(C, packed(4))]
#[repr(C, packed)]
struct DismFeature {
feature_name: *const u16,
state: i32,
}

#[repr(C, packed(4))]
#[repr(C, packed)]
struct DismFeatureInfo {
feature_name: *const u16,
state: i32,
Expand All @@ -42,13 +42,13 @@ struct DismFeatureInfo {
custom_property_count: u32,
}

#[repr(C, packed(4))]
#[repr(C, packed)]
struct DismCapability {
name: *const u16,
state: i32,
}

#[repr(C, packed(4))]
#[repr(C, packed)]
struct DismCapabilityDetail {
name: *const u16,
state: i32,
Expand Down
Loading