mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-26 06:32:44 +00:00
vhost-device-gpu: gate env::set_var test usage
Only used with gfxstream tests. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
ac27ba3856
commit
e6caab8bb0
@ -1099,11 +1099,13 @@ impl VirtioGpu for RutabagaVirtioGpu {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::{
|
||||
env::set_var,
|
||||
os::unix::net::UnixStream,
|
||||
sync::{Arc, Mutex},
|
||||
};
|
||||
|
||||
#[cfg(feature = "gfxstream")]
|
||||
use std::env::set_var;
|
||||
|
||||
use assert_matches::assert_matches;
|
||||
use rusty_fork::rusty_fork_test;
|
||||
use rutabaga_gfx::{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user