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

Don't link build scripts dynamically #1960

Merged
merged 1 commit into from
Sep 1, 2015

Conversation

alexcrichton
Copy link
Member

There's no real reason to eagerly link build scripts dynamically as they're not
going to benefit that much from dynamic linking. Most of the time they only have
one dynamic dependency, libstd, and most other Rust programs don't link it
dynamically so there's not really many space savings either.

@rust-highfive
Copy link

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

@huonw
Copy link
Member

huonw commented Sep 1, 2015

@bors r+

most other Rust programs don't link it
dynamically so there's not really many space savings either.

And even if there was, build scripts are transient anyway.

@bors
Copy link
Collaborator

bors commented Sep 1, 2015

📌 Commit 2116f81 has been approved by huonw

@bors
Copy link
Collaborator

bors commented Sep 1, 2015

⌛ Testing commit 2116f81 with merge 02b5bb9...

@bors
Copy link
Collaborator

bors commented Sep 1, 2015

💔 Test failed - cargo-win-msvc-32

@retep998
Copy link
Member

retep998 commented Sep 1, 2015

That is such a weird build failure. However I am glad that dojob is doing its job of cleaning up all the zombies.

There's no real reason to eagerly link build scripts dynamically as they're not
going to benefit that much from dynamic linking. Most of the time they only have
one dynamic dependency, libstd, and most other Rust programs don't link it
dynamically so there's not really many space savings either.
@alexcrichton
Copy link
Member Author

@bors: r=huonw 13d5094

@bors
Copy link
Collaborator

bors commented Sep 1, 2015

⌛ Testing commit 13d5094 with merge 71240c3...

bors added a commit that referenced this pull request Sep 1, 2015
There's no real reason to eagerly link build scripts dynamically as they're not
going to benefit that much from dynamic linking. Most of the time they only have
one dynamic dependency, libstd, and most other Rust programs don't link it
dynamically so there's not really many space savings either.
@bors
Copy link
Collaborator

bors commented Sep 1, 2015

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.

5 participants