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

Generate rlibs by default (instead of dylibs) #11706

Merged
merged 1 commit into from
Jan 29, 2014

Conversation

alexcrichton
Copy link
Member

Closes #11253

@flaper87
Copy link
Contributor

LGTM

@jhasse
Copy link
Contributor

jhasse commented Jan 21, 2014

What about https://github.com/mozilla/rust/blob/master/src/librustc/driver/driver.rs#L726?

Also wouldn't this break rustpkg because of #11500?

@alexcrichton
Copy link
Member Author

Good catch on that extra line! I'm running tests now to see if this breaks rustpkg. If it does, I think I'm going to just hardcode rustpkg to dylibs for now.

@jhasse
Copy link
Contributor

jhasse commented Jan 21, 2014

Wouldn't it be better to merge #11500? I know that there's duplicated functionality, but this duplicated functionality is also present now. So #11500 doesn't create any, just fixes one which already is there. I still think this duplicated functionality should be removed - yes. But maybe create a separate issue for that?

Hardcoding dylibs into rustpkg doesn't make sense to me. Why not leave the duplicated functionality for now? ;)

Btw: I already had this implemented (default = rlib) and together with 11500 all tests passed IIRC.

@huonw
Copy link
Member

huonw commented Jan 22, 2014

#11500 has landed, is this unblocked?

@alexcrichton
Copy link
Member Author

I believe it is!

@alexcrichton
Copy link
Member Author

ping r?

bors added a commit that referenced this pull request Jan 29, 2014
@bors bors closed this Jan 29, 2014
@bors bors merged commit 8a1b4dc into rust-lang:master Jan 29, 2014
@alexcrichton alexcrichton deleted the issue-11253 branch January 29, 2014 16:15
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.

crate_type = "lib" means a dynamic lib
5 participants