rust/compiler/rustc_metadata/src
bors 18b53cefdf Auto merge of #95604 - nbdd0121:used2, r=petrochenkov
Generate synthetic object file to ensure all exported and used symbols participate in the linking

Fix #50007 and #47384

This is the synthetic object file approach that I described in https://github.com/rust-lang/rust/pull/95363#issuecomment-1079932354, allowing all exported and used symbols to be linked while still allowing them to be GCed.

Related #93791, #95363

r? `@petrochenkov`
cc `@carbotaniuman`
2022-04-25 16:14:54 +00:00
..
rmeta Auto merge of #95604 - nbdd0121:used2, r=petrochenkov 2022-04-25 16:14:54 +00:00
creader.rs Add support for nounused --extern flag 2022-04-23 23:31:54 -07:00
dependency_format.rs Move rustc_middle::middle::cstore to rustc_session. 2021-10-03 16:08:51 +02:00
foreign_modules.rs remove ItemLikeVisitor impls in incremental, interface, metadata and symbol_mangling crates 2022-04-08 12:00:23 -04: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 remove ItemLikeVisitor impls in incremental, interface, metadata and symbol_mangling crates 2022-04-08 12:00:23 -04:00