rust/compiler/rustc_metadata/src
bors 563ef23529 Auto merge of #95899 - petrochenkov:modchild2, r=cjgillot
rustc_metadata: Do not encode unnecessary module children

This should remove the syntax context shift and the special case for `ExternCrate` in decoder in https://github.com/rust-lang/rust/pull/95880.

This PR also shifts some work from decoding to encoding, which is typically useful for performance (but probably not much in this case).
r? `@cjgillot`
2022-04-16 22:04:10 +00:00
..
rmeta Auto merge of #95899 - petrochenkov:modchild2, r=cjgillot 2022-04-16 22:04:10 +00:00
creader.rs library: Move CStr to libcore, and CString to liballoc 2022-04-14 21:53:11 +03:00
dependency_format.rs Move rustc_middle::middle::cstore to rustc_session. 2021-10-03 16:08:51 +02:00
foreign_modules.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
lib.rs rustc_metadata: Do not encode unnecessary module children 2022-04-13 01:35:27 +03:00
locator.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
native_libs.rs Stabilize native library modifier syntax and the whole-archive modifier specifically 2022-03-30 23:53:21 +03:00