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

Changed compile to accept name of library and updated examples #212

Merged
merged 2 commits into from Jul 18, 2017

Conversation

AndyGauge
Copy link
Contributor

Addresses #185

@@ -296,7 +296,7 @@ impl Config {
/// .file("src/foo.c")
/// .shared_flag(true)
/// .static_flag(true)
/// .compile("libfoo.so");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you review this line. I'm really not sure if this is in scope. IDK how .so passes that assert!

Copy link
Member

Choose a reason for hiding this comment

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

Nah yeah this is fine!

@alexcrichton alexcrichton merged commit 8b993f4 into rust-lang:master Jul 18, 2017
@alexcrichton
Copy link
Member

Thanks!

FaultyRAM added a commit to FaultyRAM/gcc-rs that referenced this pull request Aug 11, 2017
These were accepted in rust-lang#212, but never actually worked and weren't being tested. This fixes the logic errors that prevented the new style from working, and also updates the tests to use the new style.
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

2 participants