Skip to content

Navigation Menu

Sign in
Sign up

Remove RCTInstance runtime diagnostic flags getter/setter - #58384

Closed
javache wants to merge 1 commit into
react:main from
javache:export-D119072229
Closed

Remove RCTInstance runtime diagnostic flags getter/setter #58384
javache wants to merge 1 commit into
react:main from
javache:export-D119072229

Conversation

@javache

@javache javache commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary:
Removes the RCTInstanceRuntimeDiagnosticFlags getter and RCTInstanceSetRuntimeDiagnosticFlags setter (and the backing static) from the bridgeless RCTInstance runtime, on both the iOS and macOS platform copies.

The setter had no callers anywhere, so the getter always returned an empty string and the RN$DiagnosticFlags JS global was never defined. The ReactInstance::JSRuntimeFlags::runtimeDiagnosticFlags field already defaults to an empty string, so the initializeRuntime call site now relies on that default with no change in runtime behavior.

Changelog:
[iOS][Removed] - Remove RCTInstanceSetRuntimeDiagnosticFlags and RCTInstanceRuntimeDiagnosticFlags

Differential Revision: D119072229

Summary:
Removes the `RCTInstanceRuntimeDiagnosticFlags` getter and `RCTInstanceSetRuntimeDiagnosticFlags` setter (and the backing static) from the bridgeless `RCTInstance` runtime, on both the iOS and macOS platform copies.
The setter had no callers anywhere, so the getter always returned an empty string and the `RN$DiagnosticFlags` JS global was never defined. The `ReactInstance::JSRuntimeFlags::runtimeDiagnosticFlags` field already defaults to an empty string, so the `initializeRuntime` call site now relies on that default with no change in runtime behavior.
Changelog:
[iOS][Removed] - Remove `RCTInstanceSetRuntimeDiagnosticFlags` and `RCTInstanceRuntimeDiagnosticFlags`
Differential Revision: D119072229
@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 Sep 7, 2026

meta-codesync Bot commented Sep 7, 2026

Copy link
Copy Markdown

@javache has exported this pull request. If you are a Meta employee, you can view the originating Diff in D119072229.

meta-codesync Bot commented Sep 9, 2026

Copy link
Copy Markdown

This pull request has been merged in 935f733.

javache deleted the export-D119072229 branch September 9, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /