microsoft / microsoft/react-native-windows

Building With RTTI

Open
#12,373 3 comments 1 reaction 1 assignee View on GitHub

Nobody has claimed this yet.

Area: Build Infrastructure Discussion enhancement Workstream: ES Compliance SFI
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Right now react-native mostly tries to avoid RTTI. RN libraries for Android inside of Meta are built with -fno-rtti, but all other internal and OSS builds use -frtti.

Meta's Android build is now moving to globally use -frtti, and JSI was built with RTTI in mind. It is possible we will more broadly allow RTTI usage in RN in the future.

React Native Windows right now disables RTTI in release builds.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.