about summary refs log tree commit diff
path: root/src/test/run-make/extern-flag-fun
AgeCommit message (Collapse)AuthorLines
2016-04-14Deduplicate libraries on hash instead of filename.JP Sugarbroad-2/+14
2015-03-15Strip all leading/trailing newlinesTamir Duberstein-1/+0
2014-07-05test: Fix tests for crate_id removalAlex Crichton-0/+20
This involved removing some tests whose functionality was removed such as many of the crateresolve tests
2014-07-05rustc: Add a flag for specifying dependenciesAlex Crichton-0/+19
This comit implements a new flag, --extern, which is used to specify where a crate is located. The purpose of this flag is to bypass the normal crate loading/matching of the compiler to point it directly at the right file. This flag takes the form `--extern foo=bar` where `foo` is the name of a crate and `bar` is the location at which to find the crate. Multiple `--extern` directives are allowed with the same crate name to specify the rlib/dylib pair for a crate. It is invalid to specify more than one rlib or more than one dylib, and it's required that the crates are valid rust crates. I have also added some extensive documentation to metadata::loader about how crate loading should work. RFC: 0035-remove-crate-id