diff --git a/Cargo.toml b/Cargo.toml index 3d0d37f9..218d0de9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,6 +57,3 @@ opt-level = 3 [profile.dev] debug = "line-tables-only" - -[patch."https://github.com/chromeos/cros-libva"] -cros-libva = { path = "shims/cros-libva" } diff --git a/crates/ec-va/Cargo.toml b/crates/ec-va/Cargo.toml index 233674df..b4861522 100644 --- a/crates/ec-va/Cargo.toml +++ b/crates/ec-va/Cargo.toml @@ -6,7 +6,7 @@ edition.workspace = true license.workspace = true authors.workspace = true -# The libva FFI lives in cros-libva (BSD-3, ChromeOS). It is pinned to a git -# revision: the crates.io release does not build against libva 1.23. +# The libva FFI lives in cros-libva (BSD-3, ChromeOS), vendored from git rev +# 59384456 with Buffer owning its params (VPP region use-after-free fix). [dependencies] -cros-libva = { git = "https://github.com/chromeos/cros-libva", rev = "59384456ac2ae78c0c3e5515f41ef1efd9b802cf" } +cros-libva = { path = "../../shims/cros-libva" }