Skip to content

Conversation

@vineethkuttan
Copy link
Contributor

@vineethkuttan vineethkuttan commented Jan 15, 2026

Description

E2ex86 is failing because of MSVC compiler issue with the ternary operator, modified the codegen source file to generate file using comma operator.

This fix is only applicable for 0.82 , cause this file will be removed in upcoming intergration.
upstream commit: facebook/react-native#54059

Please validate the code changes from npm code viewer, cause the code in react native is different from published codegen package.
image

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Why

This will fix our CI pipeline, and user can build x86 RNW app without any issues

Resolves [ #15545 ]

What

Modified the windows codegen to use our own custom generator instead of the file from @react-native/codegen

image This is the difference between react native generator and our own generator.

Testing

Tested in playground and e2e for all different arch

Optional: Describe the tests that you ran locally to verify your changes.

Changelog

Should this change be included in the release notes: yes

Modified codegen generators so that use of ternary operator will be avoided.

Microsoft Reviewers: Open in CodeFlow

@vineethkuttan vineethkuttan changed the title [0.82] E2Ex86 is failure fix [0.82] E2Ex86 CI failure fix Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants