about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-02-01 15:24:26 +0000
committerbors <bors@rust-lang.org>2019-02-01 15:24:26 +0000
commit742fcc71672b71957e8050964ffb9cd06015f550 (patch)
tree156a18d407fdb005553eed05e61af2329734fc4a /src/rustllvm/RustWrapper.cpp
parentc9a86879515ed1677196f4d3585ec7a5935d2712 (diff)
parent369faaeaffa1b960f8260a1905b1fc34f33a23f6 (diff)
downloadrust-742fcc71672b71957e8050964ffb9cd06015f550.tar.gz
rust-742fcc71672b71957e8050964ffb9cd06015f550.zip
Auto merge of #57586 - Aaron1011:feature/pub-priv-dep, r=petrochenkov
Implement public/private dependency feature

Implements https://github.com/rust-lang/rust/issues/44663

The core implementation is done - however, there are a few issues that still need to be resolved:

- [x] The `EXTERNAL_PRIVATE_DEPENDENCY` lint currently does notthing when the `public_private_dependencies` is not enabled. Should mentioning the lint (in an `allow` or `deny` attribute) be an error if the feature is not enabled? (Resolved- the feature was removed)
- [x] Crates with the name `core` and `std` are always marked public, without the need to explcitily specify them on the command line. Is this what we want to do? Do we want to allow`no_std`/`no_core` crates to explicitly control this in some way? (Resolved - private crates are now explicitly specified)
- [x] Should I add additional UI tests? (Resolved - added more tests)
- [x] Does it make sense to be able to allow/deny the `EXTERNAL_PRIVATE_DEPENDENCY` on an individual item? (Resolved - this is implemented)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions