File cubeb-core-visibility-hidden.patch of Package nodejs-signal-ringrtc

--- vendor/ringrtc/rust/vendor/cubeb-core/build.rs.orig	2025-10-02 19:19:58.655189646 +0200
+++ vendor/ringrtc/rust/vendor/cubeb-core/build.rs	2025-10-02 19:46:18.858739810 +0200
@@ -18,6 +18,7 @@ fn main() {
     fs::write(
         &dest_path,
         format!(r#"
+            core::arch::global_asm!(".hidden {0}");
             #[no_mangle]
             pub unsafe extern "C" fn {}(s: *const c_char) {{
                 rust_write_formatted_msg(s);
openSUSE Build Service is sponsored by