about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-02-13 03:53:31 -0500
committerGitHub <noreply@github.com>2025-02-13 03:53:31 -0500
commit853ae3dd0c9acaa73ce2615e0bd922d2c45bfcbb (patch)
tree3d3b9ce3161b3b5d69f2a1d776a62065e164a1a9
parentfeb78f904e9e66e4fed9fe2e7e6363bb79d22be5 (diff)
parentd7f2227e63c9f496837530f338fc864532907704 (diff)
downloadrust-853ae3dd0c9acaa73ce2615e0bd922d2c45bfcbb.tar.gz
rust-853ae3dd0c9acaa73ce2615e0bd922d2c45bfcbb.zip
Rollup merge of #136858 - safinaskar:parallel-cleanup-2025-02-11-07-54, r=SparrowLii
Parallel-compiler-related cleanup

Parallel-compiler-related cleanup

I carefully split changes into commits. Commit messages are self-explanatory. Squashing is not recommended.

cc "Parallel Rustc Front-end" https://github.com/rust-lang/rust/issues/113349

r? SparrowLii

``@rustbot`` label: +WG-compiler-parallel
-rw-r--r--src/back/lto.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/back/lto.rs b/src/back/lto.rs
index e419bd18099..cb4caec8c32 100644
--- a/src/back/lto.rs
+++ b/src/back/lto.rs
@@ -710,10 +710,6 @@ pub struct ThinBuffer {
     context: Arc<SyncContext>,
 }
 
-// TODO: check if this makes sense to make ThinBuffer Send and Sync.
-unsafe impl Send for ThinBuffer {}
-unsafe impl Sync for ThinBuffer {}
-
 impl ThinBuffer {
     pub(crate) fn new(context: &Arc<SyncContext>) -> Self {
         Self { context: Arc::clone(context) }