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

Fix cross-compiling ios targets with cmake 3.14 as #88 states #93

Merged
merged 6 commits into from Mar 31, 2020

Conversation

simlay
Copy link
Contributor

@simlay simlay commented Mar 24, 2020

This PR is the combination of #88 and addresses some of the comments from #88.

At the moment of authorship, f1c7a6a is the only difference between this PR and #88 to parse the arguments in the filter_compiler_args implementation for AppleTarget.

"x86_64" => Some("x86_64".to_owned()),
_ => {
eprintln!(
"Warning: unknown architecture for target: {}",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should these warnings use the cargo:warning=MESSAGE format?

@alexcrichton
Copy link
Member

Looks good to me, thanks so much for helping to land this! I'm gonna go ahead and merge this and further iteration can happen in-tree.

@alexcrichton alexcrichton merged commit f43568c into rust-lang:master Mar 31, 2020
alexcrichton added a commit that referenced this pull request May 18, 2020
Dushistov added a commit to Dushistov/cmake-rs that referenced this pull request Jun 3, 2020
Dushistov added a commit to Dushistov/cmake-rs that referenced this pull request Jun 9, 2020
MichaelHills pushed a commit to MichaelHills/cmake-rs that referenced this pull request Sep 13, 2020
rust-lang#93)

* Rename target variable to target_triple

* Remove a bit of code duplication

* Add GenericTarget with several override points

* Add support for cross-compiling Apple targets with cmake 3.14

* Removed lazy_static and regex

Co-authored-by: Kyle Fleming <kyle@kylefleming.net>
Dushistov added a commit to Dushistov/cmake-rs that referenced this pull request Feb 12, 2021
rust-lang#93)

    * Rename target variable to target_triple
    * Remove a bit of code duplication
    * Add GenericTarget with several override points
    * Add support for cross-compiling Apple targets with cmake 3.14

Co-authored-by: simlay <simlay@users.noreply.github.com>
Co-authored-by: Kyle Fleming <kyle@kylefleming.net>
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