Skip to content

Fixed Windows compilation bug introduced in v0.36.0#97

Merged
LargeModGames merged 1 commit intoLargeModGames:mainfrom
tylerdotrar:main
Feb 13, 2026
Merged

Fixed Windows compilation bug introduced in v0.36.0#97
LargeModGames merged 1 commit intoLargeModGames:mainfrom
tylerdotrar:main

Conversation

@tylerdotrar
Copy link
Copy Markdown
Contributor

Summary

Version v0.36.0 introduced a minor issue that resulted in the project not successfully building on Windows hosts. A Linux-only feature -- mpris -- was added to the default list of features despite being internally labeled as optional.

So specifically, all this PR does is remove the optional Linux-only feature mpris from the default list within Cargo.toml, fixing Windows compilation.

Testing

Compilation failure at line 302 of main.rs due to being unable to locate mpris on a Windows host.

cargo install spotatui
image

Root cause being this "optional" feature being included in the "default" list within Cargo.toml.

image image

Compilation in both Windows and Linux successful after removing mpris from the default list.

# Linux
cargo install --path ./ --features "mpris"

# Windows
cargo install --path ./
image

Signed-off-by: Tyler McCann <tyler@proxbox.dev>
@LargeModGames
Copy link
Copy Markdown
Owner

that was pretty dumb from me, thanks for the fix!

@LargeModGames LargeModGames merged commit 83934cb into LargeModGames:main Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants