We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e04c086 commit 4f6db07Copy full SHA for 4f6db07
ios-example/Rust-TinyAudioExample/src/lib.rs
@@ -1,5 +1,7 @@
1
#![cfg(target_os = "ios")]
2
use tinyaudio::prelude::*;
3
+
4
+#[allow(static_mut_refs)]
5
static mut DEVICE_HANDLE: Option<OutputDevice> = None;
6
7
#[no_mangle]
wasm-examples/src/utils.rs
@@ -14,7 +14,7 @@ extern "C" {
14
fn stack(error: &Error) -> String;
15
}
16
17
-fn custom_panic_hook(info: &std::panic::PanicInfo) {
+fn custom_panic_hook(info: &std::panic::PanicHookInfo) {
18
let mut msg = info.to_string();
19
msg.push_str("\n\nStack:\n\n");
20
let e = Error::new();
0 commit comments