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

Compiling non-prod code only when explicitly specified #2605

Merged

Conversation

silva-fj
Copy link
Contributor

@silva-fj silva-fj commented Mar 20, 2024

Including dev only code when the production feature is not enabled makes it posible to include unsafe code to the production build in the cases where the feature has not been properly propagated. These changes switch the logic to include prod code by default and only include dev code when explicitly specified.

@silva-fj silva-fj marked this pull request as draft March 20, 2024 13:38
@silva-fj silva-fj marked this pull request as ready for review March 20, 2024 15:46
@silva-fj silva-fj requested a review from a team March 20, 2024 15:48
Copy link
Collaborator

@Kailai-Wang Kailai-Wang left a comment

Choose a reason for hiding this comment

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

Looks good in general, nicely done!

@silva-fj silva-fj merged commit be301e0 into dev Mar 22, 2024
24 of 26 checks passed
@silva-fj silva-fj deleted the p-462-non-prod-code-unsafe-compiled-by-default-because-production branch March 22, 2024 13:33
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.

None yet

4 participants