Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
extern crate libloading;
use libloading::library_filename;
use std::path::Path;
#[cfg(any(target_os = "windows", target_os = "cygwin"))]
const EXPECTED: &str = "audioengine.dll";
#[cfg(target_os = "linux")]
const EXPECTED: &str = "libaudioengine.so";
#[cfg(target_os = "macos")]
const EXPECTED: &str = "libaudioengine.dylib";
#[test]
fn test_library_filename() {
let name = "audioengine";
let resolved = library_filename(name);
assert!(Path::new(&resolved).ends_with(EXPECTED));
}