Skip to content

[CP] Ensure CpuInfo Windows flag detection works, doesn't crash on pre-sse41 cpus #55211

Description

@aam

Commit(s) to merge

c5946a1

Target

both

Prepared changelist for beta/stable

https://dart-review.googlesource.com/c/sdk/+/357983
https://dart-review.googlesource.com/c/sdk/+/358040

Issue Description

CPU detection wasn't working correctly on Windows, caused crashes of dart and flutter apps when running on older pre-sse41 cpus.

What is the fix

Ensure information about detected cpu features is properly used on Windows.

Why cherry-pick

Fix flutter and dart crashes for Windows users who also use older machines.

Risk

low

Issue link(s)

flutter/flutter#140138, flutter/flutter#138784, flutter/flutter#138693

Extra Info

No response

Metadata

Metadata

Labels

area-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).cherry-pick-approvedLabel for approved cherrypick requestcherry-pick-mergedCherry-pick has been merged to the stable or beta branch.cherry-pick-reviewIssue that need cherry pick triage to approvemerge-to-betamerge-to-stable

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions