diff options
| author | bors <bors@rust-lang.org> | 2023-02-12 07:15:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-02-12 07:15:27 +0000 |
| commit | 51cb5614dde163c53aab73e2dc33bb9f388b50a8 (patch) | |
| tree | 3ea159b8cecc4053369a3a3abd4e0d45286a3365 /compiler/rustc_codegen_ssa/src/lib.rs | |
| parent | b7089e0dd3e988270f34f182d3749ea5fff5a18f (diff) | |
| parent | 601fc8b36b1962285e371cf3c54eeb3b1b9b3a74 (diff) | |
Auto merge of #105601 - BelovDV:change-rlib-with-not-stable, r=petrochenkov
Enable new rlib in non stable cases If bundled static library uses cfg (unstable) or whole-archive (wasn't supported) bundled libs are packed even without packed_bundled_libs. r? `@petrochenkov`
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/lib.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/lib.rs b/compiler/rustc_codegen_ssa/src/lib.rs index 0e6596d4ba7..d5530c47680 100644 --- a/compiler/rustc_codegen_ssa/src/lib.rs +++ b/compiler/rustc_codegen_ssa/src/lib.rs @@ -159,6 +159,7 @@ pub struct CrateInfo { pub dependency_formats: Lrc<Dependencies>, pub windows_subsystem: Option<String>, pub natvis_debugger_visualizers: BTreeSet<DebuggerVisualizerFile>, + pub feature_packed_bundled_libs: bool, // unstable feature flag. } #[derive(Encodable, Decodable)] |
