You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build: bundle imm32 and powrprof for Windows - #4293
Native UI apps on Windows failed to link with unable to find library -limm32, then rebuilt through the C backend.
Add libimm32.a and libpowrprof.a to the bundled Windows libraries. The Linux arm64 build also gets the other import libraries it was missing for Windows cross builds.
Checked by cross-linking a native UI app against only the bundled set: fails without the two libraries, links with no warnings with them. Release packaging itself was not run.
Summary by CodeRabbit
Build & Packaging
Windows and Windows Arm packages now include additional system libraries for input, power management, setup, networking, security, and other platform features.
Linux aarch64 build artifacts now stage a broader set of Windows libraries, improving support for cross-platform builds and packaging.
This change bundles two more Windows import libraries so native UI apps can link, and it follows the existing optional-copy pattern for libraries. No concrete defect was found. The Linux aarch64 release job copies a list of libraries without a missing-file guard, and a missing file would fail that step. Normal release-run checks will show whether that happens.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: the Windows bundle now includes imm32 and powrprof libraries. The changeset adds libimm32.a and libpowrprof.a to the Windows packaging and sysroot scripts, which match…
Description check
The description states the problem (native UI apps fail to link with unable to find library -limm32), the fix (adding libimm32.a and libpowrprof.a to the bundled Windows libraries), and the extra Linu…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: the Windows bundle now includes imm32 and powrprof libraries. The changeset adds libimm32.a and libpowrprof.a to the Windows packaging and sysroot scripts, which matches the title. The title is short, specific, and uses the conventional build: prefix.
Full details: Description check
Explanation
The description states the problem (native UI apps fail to link with unable to find library -limm32), the fix (adding libimm32.a and libpowrprof.a to the bundled Windows libraries), and the extra Linux arm64 import libraries. It also describes how the change was checked. It omits the template's Related Issue section, the Proposed Changes list, and the Checklist, and it does not show test commands. The core content is present, so the description is mostly complete.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: 8d3b4002-a614-4f47-b2a9-5d7fa74efb50
Commits
Reviewing files that changed from the base of the PR and between 25c1c8a and cd0a099.
Files selected for processing: 4
.github/workflows/compiler-release.yml
tools/bash/package-native.sh
tools/bash/package-winarm.sh
tools/bash/stage-sysroots.sh
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native UI apps on Windows failed to link with
unable to find library -limm32, then rebuilt through the C backend.Add
libimm32.aandlibpowrprof.ato the bundled Windows libraries. The Linux arm64 build also gets the other import libraries it was missing for Windows cross builds.Checked by cross-linking a native UI app against only the bundled set: fails without the two libraries, links with no warnings with them. Release packaging itself was not run.
Summary by CodeRabbit