From 4f58fa4d443425105a8db069769fd2440dc1bade Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Wed, 12 Mar 2025 11:20:51 +0100 Subject: [PATCH] bhs: Remove direct link to `liblzma` (#35924) This workaround doesn't seem to be necessary any longer. Fixes #35914. Signed-off-by: Martin Robinson --- components/background_hang_monitor/sampler_linux.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/background_hang_monitor/sampler_linux.rs b/components/background_hang_monitor/sampler_linux.rs index aebdbea3253..5026b42ec63 100644 --- a/components/background_hang_monitor/sampler_linux.rs +++ b/components/background_hang_monitor/sampler_linux.rs @@ -15,11 +15,6 @@ use unwind_sys::{ use crate::sampler::{NativeStack, Sampler}; -// Hack to workaround broken libunwind pkg-config contents for <1.1-3ubuntu.1. -// https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/1336912 -#[link(name = "lzma")] -extern "C" {} - struct UncheckedSyncUnsafeCell(std::cell::UnsafeCell); /// Safety: dereferencing the pointer from `UnsafeCell::get` must involve external synchronization