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 #189

Closed
wants to merge 1 commit into 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
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.

1 participant