]> git.lizzy.rs Git - rust.git/commit
Tweak how preference factors into linkage
authorAlex Crichton <alex@alexcrichton.com>
Mon, 10 Feb 2014 19:33:33 +0000 (11:33 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 19 Feb 2014 16:33:08 +0000 (08:33 -0800)
commit35c6e22fab2d8b9c0911fb795532ca853d124ff1
tree92ce1ee710d26320bbf1a96dbf8383c697a15ff4
parent98b07755dd18e086aeb1ba8797821bd4a11cd713
Tweak how preference factors into linkage

The new methodology can be found in the re-worded comment, but the gist of it is
that -C prefer-dynamic doesn't turn off static linkage. The error messages
should also be a little more sane now.

Closes #12133
mk/tests.mk
src/compiletest/header.rs
src/compiletest/runtest.rs
src/librustc/back/link.rs
src/test/auxiliary/issue-12133-dylib.rs [new file with mode: 0644]
src/test/auxiliary/issue-12133-rlib.rs [new file with mode: 0644]
src/test/compile-fail/issue-12133-1.rs [new file with mode: 0644]
src/test/compile-fail/issue-12133-2.rs [new file with mode: 0644]
src/test/compile-fail/issue-12133-3.rs [new file with mode: 0644]