microsoft / microsoft/react-native-windows

Use deterministic compiler/linker flags

Open
#6,167 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

We've had a few people hit an issue where they wrongly have a RNW in node_modules in their NM and the example app, and they build both and when packaging they get a conflict. They shouldn't have 2 of them but: if we did use deterministic compiler/linker flags then this would not be a problem assuming both MRN are built with the same options

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.

Research direction

The issue describes conflicting RNW builds from node_modules and the example app during packaging, but names no files or tests. Start by locating the compiler and linker configuration for both builds, then determine whether shared deterministic flags can make their outputs compatible. Done means packaging no longer encounters a conflict when both builds use the same options.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, react-native
Domain
build-system, compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.