Remove cgu_reuse_tracker from Session
This removes a bit of global mutable state
This commit is contained in:
@@ -1965,8 +1965,6 @@ impl<B: ExtraBackendMethods> OngoingCodegen<B> {
|
||||
}
|
||||
});
|
||||
|
||||
sess.cgu_reuse_tracker.check_expected_reuse(sess);
|
||||
|
||||
sess.abort_if_errors();
|
||||
|
||||
let work_products =
|
||||
|
||||
Reference in New Issue
Block a user