-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚩 zb: Disable UDS support on Windows for tokio
Since tokio currently [does not support Unix domain sockets on Windows][tuds], there is no reason to enable UDS support on Windows+tokio. This also fixes a build warning against rust nightly: ```rust error: field `0` is never read --> zbus\src\connection\builder.rs:45:16 | 45 | UnixStream(UnixStream), | ---------- ^^^^^^^^^^ | | | field in this variant | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]` help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 45 | UnixStream(()), | ~~ ``` [tuds]: tokio-rs/tokio#2201
- Loading branch information
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters