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

--- vendor/ringrtc/rust/vendor/cubeb-core/src/lib.rs.orig	2024-11-14 16:52:52.409604331 +0100
+++ vendor/ringrtc/rust/vendor/cubeb-core/src/lib.rs	2024-11-14 22:17:36.522361049 +0100
@@ -1,3 +1,4 @@
+#![feature(rustc_attrs)]
 // Copyright © 2017-2018 Mozilla Foundation
 //
 // This program is made available under an ISC-style license.  See the
--- vendor/ringrtc/rust/vendor/cubeb-core/src/log.rs.orig	2024-11-14 22:12:12.807245205 +0100
+++ vendor/ringrtc/rust/vendor/cubeb-core/src/log.rs	2024-11-14 22:13:06.630811170 +0100
@@ -54,6 +54,7 @@ extern "C" {
 ///
 /// |s| must be null, or a pointer to a valid, nul-terminated, array of chars.
 #[no_mangle]
+#[rustc_std_internal_symbol]
 pub unsafe extern "C" fn rust_write_formatted_msg(s: *const c_char) {
     if s.is_null() {
         // Do nothing if the pointer is null.
openSUSE Build Service is sponsored by