about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2019-11-08 13:42:17 +0900
committerGitHub <noreply@github.com>2019-11-08 13:42:17 +0900
commit996d94a9db8ec6f8c6feb4d11a0c53a1436457ff (patch)
tree6bc58052f8208f0166857c371b3e821519ee16e2 /src/test/debuginfo/enum-thinlto.rs
parent9dc5d0ec813e6f0c06c3bdd31257d673dd11265f (diff)
parent5eb1cf16197a8cc38d18e81338f4c148e14ee36f (diff)
downloadrust-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