Skip to content

Propagate Hermes V1 opt-in to Fantom#55157

Closed
j-piasecki wants to merge 1 commit intofacebook:mainfrom
j-piasecki:export-D90674696
Closed

Propagate Hermes V1 opt-in to Fantom#55157
j-piasecki wants to merge 1 commit intofacebook:mainfrom
j-piasecki:export-D90674696

Conversation

@j-piasecki
Copy link
Contributor

Summary:
Changelog: [Internal]

At the moment, Fantom doesn't propagate the Hermes V1 opt-in to the React Native build, which causes the code that should be gated by compile-time flags to be compiled. Since Hermes V1 differs in some cases, the headers there are missing.

This diff adds the opt-in propagation, so the code can be correctly compiled out.

Differential Revision: D90674696

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 14, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 14, 2026

@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D90674696.

@facebook-github-bot facebook-github-bot added the p: Facebook Partner: Facebook label Jan 14, 2026
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Jan 14, 2026
Summary:

Changelog: [Internal]

At the moment, Fantom doesn't propagate the Hermes V1 opt-in to the React Native build, which causes the code that should be gated by compile-time flags to be compiled. Since Hermes V1 differs in some cases, the headers there are missing.

This diff adds the opt-in propagation, so the code can be correctly compiled out.

Differential Revision: D90674696
Copy link
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

Summary:

Changelog: [Internal]

At the moment, Fantom doesn't propagate the Hermes V1 opt-in to the React Native build, which causes the code that should be gated by compile-time flags to be compiled. Since Hermes V1 differs in some cases, the headers there are missing.

This diff adds the opt-in propagation, so the code can be correctly compiled out.

Reviewed By: cortinico

Differential Revision: D90674696
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Jan 16, 2026
Summary:

Changelog: [Internal]

At the moment, Fantom doesn't propagate the Hermes V1 opt-in to the React Native build, which causes the code that should be gated by compile-time flags to be compiled. Since Hermes V1 differs in some cases, the headers there are missing.

This diff adds the opt-in propagation, so the code can be correctly compiled out.

Reviewed By: cortinico

Differential Revision: D90674696
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Jan 16, 2026
Summary:

Changelog: [Internal]

At the moment, Fantom doesn't propagate the Hermes V1 opt-in to the React Native build, which causes the code that should be gated by compile-time flags to be compiled. Since Hermes V1 differs in some cases, the headers there are missing.

This diff adds the opt-in propagation, so the code can be correctly compiled out.

Reviewed By: cortinico

Differential Revision: D90674696
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Jan 16, 2026
Summary:

Changelog: [Internal]

At the moment, Fantom doesn't propagate the Hermes V1 opt-in to the React Native build, which causes the code that should be gated by compile-time flags to be compiled. Since Hermes V1 differs in some cases, the headers there are missing.

This diff adds the opt-in propagation, so the code can be correctly compiled out.

Reviewed By: cortinico

Differential Revision: D90674696
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Jan 16, 2026
Summary:

Changelog: [Internal]

At the moment, Fantom doesn't propagate the Hermes V1 opt-in to the React Native build, which causes the code that should be gated by compile-time flags to be compiled. Since Hermes V1 differs in some cases, the headers there are missing.

This diff adds the opt-in propagation, so the code can be correctly compiled out.

Reviewed By: cortinico

Differential Revision: D90674696
@meta-codesync meta-codesync bot closed this in 58f9141 Jan 16, 2026
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @j-piasecki in 58f9141

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jan 16, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 16, 2026

This pull request has been merged in 58f9141.

react-native-bot pushed a commit that referenced this pull request Jan 19, 2026
Summary:
Pull Request resolved: #55157

Changelog: [Internal]

At the moment, Fantom doesn't propagate the Hermes V1 opt-in to the React Native build, which causes the code that should be gated by compile-time flags to be compiled. Since Hermes V1 differs in some cases, the headers there are missing.

This diff adds the opt-in propagation, so the code can be correctly compiled out.

Reviewed By: cortinico

Differential Revision: D90674696

fbshipit-source-id: d2adb131af4588e745c023703a893d0ecaaaee01
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @j-piasecki in 2d61709

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants