mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-21 07:05:33 -04:00
563ef23529
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`