mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2024-12-22 05:35:20 +00:00
qemu-vte: fix build, use workspace deps
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
67b334e5bb
commit
abca0e48d5
@ -7,8 +7,8 @@ edition = "2018"
|
||||
log = "0.4"
|
||||
pretty_env_logger = "0.4"
|
||||
once_cell = "1.5"
|
||||
zbus = { version = "3.0" }
|
||||
qemu-display = { path = "../qemu-display" }
|
||||
zbus.workspace = true
|
||||
qemu-display.workspace = true
|
||||
futures = "0.3.13"
|
||||
|
||||
[dependencies.vte]
|
||||
|
@ -37,7 +37,7 @@ fn main() {
|
||||
c.proxy.name().await.expect("Chardev not found");
|
||||
|
||||
let (p0, p1) = UnixStream::pair().unwrap();
|
||||
if c.proxy.register(p1.as_raw_fd().into()).await.is_ok() {
|
||||
if c.proxy.register((&p1).into()).await.is_ok() {
|
||||
let ostream = unsafe { gio::UnixOutputStream::with_fd(p0.as_raw_fd()) };
|
||||
let istream = unsafe { gio::UnixInputStream::take_fd(p0) }
|
||||
.dynamic_cast::<gio::PollableInputStream>()
|
||||
|
Loading…
Reference in New Issue
Block a user