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

Honor no_default_flags setting #190

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

christianheussy
Copy link

Problem: init_c_cfg permits the user to set a cc::Build configuration. The setting for no_default_flags is always overridden by uses_android_sdk. This prevents a user from building with no_default_flags = true.

Solution: Do not override no_default_flags value. In the event uses_android_sdk returns true, continue to set no_default_flags to true. Note that no_default_flags defaults to false.

Issue: #188

Problem: `init_c_cfg` permits the user to set a `cc::Build`
configuration. The setting for `no_default_flags` is always overridden by
`uses_android_sdk`. This prevents a user from building with
`no_default_flags = true`.

Solution: Do not override `no_default_flags` value. In the event
`uses_android_sdk` returns true, continue to set `no_default_flags` to
true. Note that `no_default_flags` defaults to false.

Issue: rust-lang#188
@tgross35 tgross35 added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants