-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Split exported_symbols for generic and non-generic symbols #143013
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Some changes occurred in compiler/rustc_codegen_ssa |
@@ -164,7 +164,8 @@ fn is_reachable_non_generic_provider_extern(tcx: TyCtxt<'_>, def_id: DefId) -> b | |||
tcx.reachable_non_generics(def_id.krate).contains_key(&def_id) | |||
} | |||
|
|||
fn exported_symbols_provider_local<'tcx>( | |||
// FIXME maybe split into two functions | |||
fn exported_symbols_provider_local<'tcx, const GENERIC: bool>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be done before merging.
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
Split exported_symbols for generic and non-generic symbols This reduces metadata decoder overhead during the monomorphization collector. This may help with incremental builds for Zed.
// to block export of generics from dylibs, but we must fix | ||
// rust-lang/rust#65890 before we can do that robustly. | ||
|
||
syms |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Accidentally committed this as part of this PR, but preventing export of generics from dylibs doesn't seem to be necessary anymore.
5e2d5cf
to
0fa3ea6
Compare
The Miri subtree was changed cc @rust-lang/miri |
@bors2 try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
Split exported_symbols for generic and non-generic symbols This reduces metadata decoder overhead during the monomorphization collector. This may help with incremental builds for Zed.
0fa3ea6
to
f859eea
Compare
@bors2 try cancel |
Try build cancelled. Cancelled workflows: |
Split exported_symbols for generic and non-generic symbols This reduces metadata decoder overhead during the monomorphization collector. This may help with incremental builds for Zed.
This comment has been minimized.
This comment has been minimized.
💔 Test failed
|
f859eea
to
aa10411
Compare
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
Split exported_symbols for generic and non-generic symbols This reduces metadata decoder overhead during the monomorphization collector. This may help with incremental builds for Zed.
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
This reduces metadata decoder overhead during the monomorphization collector.
aa10411
to
91f653b
Compare
@bors2 try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
Split exported_symbols for generic and non-generic symbols This reduces metadata decoder overhead during the monomorphization collector. This may help with incremental builds for Zed.
Queued 2a26fdd with parent 1e83852, future comparison URL. |
This reduces metadata decoder overhead during the monomorphization collector.
This may help with incremental builds for Zed.