Skip to content

Generate rlibs by default (instead of dylibs) - #11706

Merged
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:issue-11253
Jan 29, 2014
Merged

bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:issue-11253

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

Closes #11253

@flaper87

Copy link
Copy Markdown
Contributor

LGTM

@jhasse

jhasse commented Jan 21, 2014

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

jhasse commented Jan 21, 2014

Copy link
Copy Markdown
Contributor

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

huonw commented Jan 22, 2014

Copy link
Copy Markdown
Contributor

#11500 has landed, is this unblocked?

@alexcrichton

Copy link
Copy Markdown
Member Author

I believe it is!

@alexcrichton

Copy link
Copy Markdown
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