Closed
Description
When we use the "auxiliary crate" feature in compile-test, it adds a -L <aux-path>
flag that points rustc at the directory where to find those crates. This means that when rustc sees an extern crate
it then searches those directories. It's good to have the ability to test that behavior, but it's not the way that cargo drives rustc -- and as a result it's not compatible with the new extern-prelude feature set, requiring awkward run-make tests like extern-prelude.
It would probably be better for compiletest, by default, to add a --extern foo=<path-to-foo>
flag for each auxiliary crate. We could maybe keep a way to use the "auxdir" option.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done