- Updated the WebView2 SDK version to 1.0.1020.30 and adjusted related SHA256 checksums for improved compatibility with Windows 7. - Added a new function to install the legacy WebView2 loader, ensuring proper handling of loader replacements and validation. - Enhanced the CI workflow to include steps for enabling Win7-only Cargo patches and verifying the availability of 7-Zip, streamlining the build process for Windows 7 compatibility. - Introduced a new documentation file to record Windows 7 compatibility vendor patches, detailing necessary adjustments for specific dependencies.
1.5 KiB
1.5 KiB
Windows 7 Compatibility Vendor Patches
This file records dependency patches that are only present because the isolated
x86_64-win7-windows-msvc compatibility build found a concrete blocker.
windows-core 0.62.2
- Source: crates.io
windows-core0.62.2. - Reason: the Win7 PE import audit found
combase.dllimports from thewindows 0.62.2dependency group used by Pageant, SSPI, and IronRDP. - Patch: link
CoTaskMemAlloc,CoTaskMemFree, andCoCreateFreeThreadedMarshalerfromole32.dll, matching the Win7-safe import library used bywindows-core0.61.x. - Scope: no normal release workflow is changed; this patch is exercised through
Cargo's
[patch.crates-io]resolution and must remain validated by the.github/workflows/windows-7-compat.ymlPE audit.
webview2-com-sys 0.38.2 / WebView2 Loader SDK 1.0.1020.30
- Source: crates.io
webview2-com-sys0.38.2 plus NuGetMicrosoft.Web.WebView21.0.1020.30 for the x64 static loader. - Reason: the Win7 PE import audit found
EventSetInformationin newer WebView2 static loaders. The original 1.0.1054.31 loader pin still contains that import; 1.0.1020.30 is the newest stable SDK version checked below that boundary without the symbol. - Patch: the crate is vendored so raw Win7 probe builds link the known-good x64
loader from source.
.github/scripts/prepare-webview2-win7-loader.ps1also verifies/reinstalls that loader and replaces already-copied Cargotarget/**/out/x64build outputs with the same pinned binary.