diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-02-13 03:53:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-13 03:53:31 -0500 |
| commit | 1f669fdc7d9ac589e2ef297438915acfd14dc07b (patch) | |
| tree | 49cf9e1b464ddc375b45810cba064befee2c90ac /compiler/rustc_codegen_gcc | |
| parent | 4ea261018a7ab5ab9328d29a0404347ec137bf0d (diff) | |
| parent | 8506dd264439fd2db26d73aa1fa504b47c33b8f4 (diff) | |
| download | rust-1f669fdc7d9ac589e2ef297438915acfd14dc07b.tar.gz rust-1f669fdc7d9ac589e2ef297438915acfd14dc07b.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
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/back/lto.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_gcc/src/back/lto.rs b/compiler/rustc_codegen_gcc/src/back/lto.rs index e419bd18099..cb4caec8c32 100644 --- a/compiler/rustc_codegen_gcc/src/back/lto.rs +++ b/compiler/rustc_codegen_gcc/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) } |
