Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude JSI headers when using hermes-engine prebuilt #41499

Closed
wants to merge 1 commit into from

Conversation

dmytrorykun
Copy link
Contributor

Summary:
After D48152876 we consume JSI from ReactCommon/jsi, and ignore JSI that is distributed with hermes-engine.
This diff removes include/jsi from source_files of hermes-engine so we don't get two sets of JSI headers - one from ReactCommon, and the other one from hermes-engine.

Changelog: [iOS][Fixed] - Exclude JSI headers when using hermes-engine prebuilt.

Differential Revision: D51347562

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Nov 15, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51347562

dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 15, 2023
…1499)

Summary:

After facebook#38922 we consume JSI from `ReactCommon/jsi`, and ignore JSI that is distributed with `hermes-engine`.

This diff removes `include/jsi` from `source_files` of `hermes-engine` so we don't get two sets of JSI headers - one from `ReactCommon`, and the other one from `hermes-engine`.

This diff also fixes accidental breakage of ODR violation, which was first fixed here facebook#35038
We will no longer compile JSI into `react-native` when linking against `hermes-engine`, which already has JSI in it.

Changelog: [iOS][Fixed] - Exclude JSI headers when using hermes-engine prebuilt.

Differential Revision: D51347562
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51347562

dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 15, 2023
…1499)

Summary:

After D48152876 we consume JSI from `ReactCommon/jsi`, and ignore JSI that is distributed with `hermes-engine`.
This diff removes `include/jsi` from `source_files` of `hermes-engine` so we don't get two sets of JSI headers - one from `ReactCommon`, and the other one from `hermes-engine`.
This diff also fixes accidental breakage of ODR violation. We will no longer compile JSI into `react-native` when linking against `hermes-engine`, which already has JSI in it.
Changelog: [iOS][Fixed] - Exclude JSI headers when using hermes-engine prebuilt.

Reviewed By: cipolleschi

Differential Revision: D51347562
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51347562

dmytrorykun added a commit to dmytrorykun/react-native that referenced this pull request Nov 15, 2023
…1499)

Summary:

After D48152876 we consume JSI from `ReactCommon/jsi`, and ignore JSI that is distributed with `hermes-engine`.
This diff removes `include/jsi` from `source_files` of `hermes-engine` so we don't get two sets of JSI headers - one from `ReactCommon`, and the other one from `hermes-engine`.
This diff also fixes accidental breakage of ODR violation. We will no longer compile JSI into `react-native` when linking against `hermes-engine`, which already has JSI in it.
Changelog: [iOS][Fixed] - Exclude JSI headers when using hermes-engine prebuilt.

Reviewed By: cipolleschi

Differential Revision: D51347562
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51347562

…1499)

Summary:

After D48152876 we consume JSI from `ReactCommon/jsi`, and ignore JSI that is distributed with `hermes-engine`.
This diff removes `include/jsi` from `source_files` of `hermes-engine` so we don't get two sets of JSI headers - one from `ReactCommon`, and the other one from `hermes-engine`.
This diff also fixes accidental breakage of ODR violation. We will no longer compile JSI into `react-native` when linking against `hermes-engine`, which already has JSI in it.
Changelog: [iOS][Fixed] - Exclude JSI headers when using hermes-engine prebuilt.

Reviewed By: cipolleschi

Differential Revision: D51347562
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D51347562

Copy link

This pull request was successfully merged by @dmytrorykun in 5029cef.

When will my fix make it into a release? | Upcoming Releases

@github-actions github-actions bot added the Merged This PR has been merged. label Nov 16, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 5029cef.

lunaleaps pushed a commit that referenced this pull request Nov 17, 2023
Summary:
Pull Request resolved: #41499

After D48152876 we consume JSI from `ReactCommon/jsi`, and ignore JSI that is distributed with `hermes-engine`.
This diff removes `include/jsi` from `source_files` of `hermes-engine` so we don't get two sets of JSI headers - one from `ReactCommon`, and the other one from `hermes-engine`.
This diff also fixes accidental breakage of ODR violation. We will no longer compile JSI into `react-native` when linking against `hermes-engine`, which already has JSI in it.
Changelog: [iOS][Fixed] - Exclude JSI headers when using hermes-engine prebuilt.

Reviewed By: cipolleschi

Differential Revision: D51347562

fbshipit-source-id: 6e4b9940c43d74d227a05999926b8752d7685670
Othinn pushed a commit to Othinn/react-native that referenced this pull request Jan 9, 2024
…1499)

Summary:
Pull Request resolved: facebook#41499

After D48152876 we consume JSI from `ReactCommon/jsi`, and ignore JSI that is distributed with `hermes-engine`.
This diff removes `include/jsi` from `source_files` of `hermes-engine` so we don't get two sets of JSI headers - one from `ReactCommon`, and the other one from `hermes-engine`.
This diff also fixes accidental breakage of ODR violation. We will no longer compile JSI into `react-native` when linking against `hermes-engine`, which already has JSI in it.
Changelog: [iOS][Fixed] - Exclude JSI headers when using hermes-engine prebuilt.

Reviewed By: cipolleschi

Differential Revision: D51347562

fbshipit-source-id: 6e4b9940c43d74d227a05999926b8752d7685670
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. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants