compiler/rustc_codegen_gcc/src/back/lto.rs: delete "unsafe impl Sync/Send"

This commit is contained in:
Askar Safin 2025-02-11 09:47:13 +03:00
parent afa01c145c
commit 851cc4bed4

View file

@ -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) }