]> git.lizzy.rs Git - rust.git/commit
auto merge of #18592 : alexcrichton/rust/dylib-harder, r=pcwalton
authorbors <bors@rust-lang.org>
Wed, 5 Nov 2014 07:01:38 +0000 (07:01 +0000)
committerbors <bors@rust-lang.org>
Wed, 5 Nov 2014 07:01:38 +0000 (07:01 +0000)
commiteca8f11315cb3cd9836e6d8501a07fbb137f5e88
tree0932e0efac88a5739965f58ddce4d3775c4b156b
parent4375b32dabf8096a1137a68c1070fc9a9292cb06
parent3036b001276a6e43409b08b7f2334ce72aeeb036
auto merge of #18592 : alexcrichton/rust/dylib-harder, r=pcwalton

If a dylib is being produced, the compiler will now first check to see if it can
be created entirely statically before falling back to dynamic dependencies. This
behavior can be overridden with `-C prefer-dynamic`.

Due to the alteration in behavior, this is a breaking change. Any previous users
relying on dylibs implicitly maximizing dynamic dependencies should start
passing `-C prefer-dynamic` to compilations.

Closes #18499
[breaking-change]
mk/main.mk
src/librustc/middle/dependency_format.rs