Skip to content

Only include compilation options in the PDB that don't have default value#45044

Merged
tmat merged 3 commits intodotnet:masterfrom
tmat:DefaultPortability
Jun 18, 2020
Merged

Only include compilation options in the PDB that don't have default value#45044
tmat merged 3 commits intodotnet:masterfrom
tmat:DefaultPortability

Conversation

@tmat
Copy link
Member

@tmat tmat commented Jun 10, 2020

portability-policy emitted to PDB CompilationOptions record is only relevant for legacy Silverlight builds. It's always 0 otherwise. No reason to include it if it has the default value.

@tmat tmat requested a review from a team as a code owner June 10, 2020 20:13
@tmat
Copy link
Member Author

tmat commented Jun 10, 2020

@ryzngard @jaredpar @chsienki A simple adjustment. PTAL

Copy link
Contributor

@ryzngard ryzngard left a comment

Choose a reason for hiding this comment

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

Please check value is missing

@tmat tmat force-pushed the DefaultPortability branch from b5d3a14 to 77c5c1f Compare June 15, 2020 16:04
@tmat tmat changed the title Only include portability-policy in the PDB if not default Only include compilation options in the PDB that don't have default value Jun 15, 2020
@tmat
Copy link
Member Author

tmat commented Jun 15, 2020

@ryzngard @chsienki Updated to not emit options that have default values and documented defaults in the doc.

Copy link
Member

@chsienki chsienki left a comment

Choose a reason for hiding this comment

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

:shipit:

@tmat tmat merged commit 7647f55 into dotnet:master Jun 18, 2020
@ghost ghost added this to the Next milestone Jun 18, 2020
@tmat tmat deleted the DefaultPortability branch June 18, 2020 06:50
@dibarbet dibarbet modified the milestones: Next, 16.7.P4 Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants