diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2019-11-08 13:42:17 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-08 13:42:17 +0900 |
| commit | 996d94a9db8ec6f8c6feb4d11a0c53a1436457ff (patch) | |
| tree | 6bc58052f8208f0166857c371b3e821519ee16e2 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 9dc5d0ec813e6f0c06c3bdd31257d673dd11265f (diff) | |
| parent | 5eb1cf16197a8cc38d18e81338f4c148e14ee36f (diff) | |
| download | rust-996d94a9db8ec6f8c6feb4d11a0c53a1436457ff.tar.gz rust-996d94a9db8ec6f8c6feb4d11a0c53a1436457ff.zip | |
Rollup merge of #66056 - petrochenkov:metapriv, r=eddyb
rustc_metadata: Some reorganization of the module structure
The new structure of `rustc_metadata` (or rather its parts affected by the refactoring) is
```
├── lib.rs
└── rmeta
├── decoder
│ └── cstore_impl.rs
├── decoder.rs
├── encoder.rs
├── mod.rs
└── table.rs
```
(`schema` is renamed to `rmeta`.)
The code inside `rmeta` is pretty self-contained, so we can now privatize almost everything in this module instead of using `pub(crate)` which was necessary when all these modules accessed their neighbors in the old flat structure.
`encoder` and `decoder` work with structures defined by `rmeta`.
`table` is a part of `rmeta`.
`cstore_impl` actively uses decoder methods and exposes their results through very few public methods (`provide` and `_untracked` methods).
r? @eddyb @spastorino
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
