Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backend/sys: Fix import for cargo test without client_system #785

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion wayland-backend/src/sys/mod.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
//! Implementations of the Wayland backends using the system `libwayland`

use std::sync::Arc;

Check warning on line 3 in wayland-backend/src/sys/mod.rs

View workflow job for this annotation

GitHub Actions / coverage-tests (server_system)

unused import: `std::sync::Arc`

use wayland_sys::client::wl_proxy;

Check warning on line 5 in wayland-backend/src/sys/mod.rs

View workflow job for this annotation

GitHub Actions / coverage-tests (server_system)

unused import: `wayland_sys::client::wl_proxy`
use wayland_sys::common::{wl_argument, wl_array};

use crate::client::{ObjectData, ObjectId};
use crate::protocol::{ArgumentType, Interface};

Check warning on line 8 in wayland-backend/src/sys/mod.rs

View workflow job for this annotation

GitHub Actions / coverage-tests (server_system)

unused import: `Interface`

#[cfg(any(test, feature = "client_system"))]
mod client_impl;
Expand Down Expand Up @@ -37,6 +36,8 @@
#[cfg(any(test, feature = "client_system"))]
#[path = "../client_api.rs"]
pub mod client;
#[cfg(any(test, feature = "client_system"))]
use client::{ObjectData, ObjectId};

// API complements for FFI

Expand Down
Loading