diff --git a/.github/workflows/platforms.yml b/.github/workflows/platforms.yml index e4e923077..bbaae12eb 100644 --- a/.github/workflows/platforms.yml +++ b/.github/workflows/platforms.yml @@ -219,9 +219,9 @@ jobs: - name: Check examples (all features) run: cargo +${{ steps.msrv.outputs.all-features }} check --examples --all-features --workspace --verbose - - name: Check ASIO examples + - name: Build ASIO examples working-directory: asio-sys - run: cargo +${{ env.MSRV_WINDOWS }} check --examples --verbose --workspace + run: cargo +${{ env.MSRV_WINDOWS }} build --examples --verbose --workspace # macOS ARM64 macos: diff --git a/CHANGELOG.md b/CHANGELOG.md index df4db45a3..276810d43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.17.3] - 2026-02-17 +## [0.17.3] - 2026-02-18 ### Changed - Reverted SemVer-breaking `DeviceBusy` error variant addition. +### Fixed + +- **ASIO**: Fix linker errors. + ## [0.17.2] - 2026-02-08 [YANKED] ### Added diff --git a/Cargo.toml b/Cargo.toml index 4a0e84b3b..65f0726b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -80,7 +80,7 @@ windows = { version = ">=0.59, <=0.62", features = [ "Win32_UI_Shell_PropertiesSystem", ] } audio_thread_priority = { version = "0.34", optional = true } -asio-sys = { version = "0.2", path = "asio-sys", optional = true } +asio-sys = { version = "0.2.6", path = "asio-sys", optional = true } num-traits = { version = "0.2", optional = true } jack = { version = "0.13", optional = true } diff --git a/asio-sys/CHANGELOG.md b/asio-sys/CHANGELOG.md index 901294833..c9d4b298a 100644 --- a/asio-sys/CHANGELOG.md +++ b/asio-sys/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.2.6] - 2026-02-17 + +### Fixed +- Link `advapi32` to resolve Windows Registry API symbols. + ## [0.2.5] - 2026-01-04 ### Fixed @@ -77,6 +82,7 @@ Initial release. - Support for MSVC toolchain on Windows - Basic error types: `AsioError`, `LoadDriverError` +[0.2.6]: https://github.com/RustAudio/cpal/compare/asio-sys-v0.2.5...asio-sys-v0.2.6 [0.2.5]: https://github.com/RustAudio/cpal/compare/asio-sys-v0.2.4...asio-sys-v0.2.5 [0.2.4]: https://github.com/RustAudio/cpal/compare/asio-sys-v0.2.3...asio-sys-v0.2.4 [0.2.3]: https://github.com/RustAudio/cpal/compare/asio-sys-v0.2.2...asio-sys-v0.2.3 diff --git a/asio-sys/Cargo.toml b/asio-sys/Cargo.toml index 70221786d..cd91aea39 100644 --- a/asio-sys/Cargo.toml +++ b/asio-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "asio-sys" -version = "0.2.5" +version = "0.2.6" authors = ["Tom Gowan "] description = "Low-level interface and binding generation for the steinberg ASIO SDK." repository = "https://github.com/RustAudio/cpal/" diff --git a/asio-sys/build.rs b/asio-sys/build.rs index 53b446e98..16f3af863 100644 --- a/asio-sys/build.rs +++ b/asio-sys/build.rs @@ -70,6 +70,7 @@ fn main() { } // Print out links to needed libraries + println!("cargo:rustc-link-lib=dylib=advapi32"); println!("cargo:rustc-link-lib=dylib=ole32"); println!("cargo:rustc-link-lib=dylib=user32"); println!("cargo:rustc-link-search={}", out_dir.display());