Skip to content

Fix failing build_ffi test under current nightly after rust-lang/rust#43067 landed. #126

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

Merged
merged 2 commits into from
Nov 15, 2017

Conversation

kinetiknz
Copy link
Collaborator

@kinetiknz kinetiknz commented Nov 14, 2017

Fix failing build_ffi test under current nightly after rust-lang/rust#43067 landed.

rustc no longer prints the list of libraries for the linker by default, they must be requested with --print native-static-libs. To make life interesting, that flag is incompatible with the current stable rustc, so we need to handle both cases for now.

This fixes the failing CI builds such as https://travis-ci.org/mozilla/mp4parse-rust/jobs/302161109

@kinetiknz kinetiknz requested a review from rillian November 14, 2017 23:36
@kinetiknz kinetiknz self-assigned this Nov 14, 2017
This handles situations such as switching between the stable and nightly
rustc where we might need to rebuild libmp4parse.a.out.
Copy link
Contributor

@rillian rillian left a comment

Choose a reason for hiding this comment

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

Thanks for fixing!

@rillian rillian merged commit a860907 into mozilla:master Nov 15, 2017
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.

2 participants