]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #59335 - Aaron1011:fix/extern-priv-final, r=Aaron1011
authorbors <bors@rust-lang.org>
Sun, 14 Apr 2019 19:47:40 +0000 (19:47 +0000)
committerbors <bors@rust-lang.org>
Sun, 14 Apr 2019 19:47:40 +0000 (19:47 +0000)
Properly parse '--extern-private' with name and path

It turns out that https://github.com/rust-lang/rust/pull/57586 didn't properly parse `--extern-private name=path`.

This PR properly implements the `--extern-private` option. I've added a new `extern-private` option to `compiletest`, which causes an `--extern-private` option to be passed to the compiler with the proper path.

Part of https://github.com/rust-lang/rust/issues/44663

1  2 
src/librustc/ty/context.rs
src/librustc_metadata/cstore_impl.rs

Simple merge
Simple merge