mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
821f544301
since the crosvm_control crate is build as a cdylib, the functions are not able to be used from other rust code. this patch moves all actual implementation into an inner crosvm_control_rust crate, and has the outer crosvm_control crate import and expose all of the inner code. Change-Id: Ib05d5df8bb138680f3e77a8837b1103854c0b316 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4276641 Commit-Queue: Maciek Swiech <drmasquatch@google.com> Reviewed-by: Dennis Kempin <denniskempin@google.com>
15 lines
274 B
TOML
15 lines
274 B
TOML
[package]
|
|
name = "crosvm_control"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "staticlib"]
|
|
|
|
[dependencies]
|
|
crosvm_control_rust = { path = "crosvm_control_rust" }
|
|
|
|
[build-dependencies]
|
|
anyhow = "*"
|
|
cbindgen = "0.24"
|