about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorAskar Safin <safinaskar@mail.ru>2025-02-11 09:47:13 +0300
committerAskar Safin <safinaskar@mail.ru>2025-02-11 09:47:13 +0300
commit851cc4bed408586a4adb599bb953e069692deb8a (patch)
tree9d47ca13eecdbe5f4b82dc66be25025dbb1e6781 /compiler/rustc_codegen_gcc
parentafa01c145c290b2fd19f36db7037beb46a7ed0c9 (diff)
downloadrust-851cc4bed408586a4adb599bb953e069692deb8a.tar.gz
rust-851cc4bed408586a4adb599bb953e069692deb8a.zip
compiler/rustc_codegen_gcc/src/back/lto.rs: delete "unsafe impl Sync/Send"
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/src/back/lto.rs4
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) }