ec-va: depend on the vendored cros-libva by path instead of a workspace [patch], so path and git consumers get the VPP use-after-free fix without patching
Browse files at this commit24666c0482f23b366ea752d2eb988c41ea07657fParent: b63bf802 changed files +3 -6
- Cargo.toml +0 -3
- crates/ec-va/Cargo.toml +3 -3
Cargo.tomlmodified+0 -3
| @@ -57,6 +57,3 @@ opt-level = 3 | |||
| 57 | 57 | ||
| 58 | [profile.dev] | 58 | [profile.dev] |
| 59 | debug = "line-tables-only" | 59 | debug = "line-tables-only" |
| 60 | - | ||
| 61 | -[patch."https://github.com/chromeos/cros-libva"] | ||
| 62 | -cros-libva = { path = "shims/cros-libva" } | ||
crates/ec-va/Cargo.tomlmodified+3 -3
| @@ -6,7 +6,7 @@ edition.workspace = true | |||
| 6 | license.workspace = true | 6 | license.workspace = true |
| 7 | authors.workspace = true | 7 | authors.workspace = true |
| 8 | 8 | ||
| 9 | -# The libva FFI lives in cros-libva (BSD-3, ChromeOS). It is pinned to a git | 9 | +# The libva FFI lives in cros-libva (BSD-3, ChromeOS), vendored from git rev |
| 10 | -# revision: the crates.io release does not build against libva 1.23. | 10 | +# 59384456 with Buffer owning its params (VPP region use-after-free fix). |
| 11 | [dependencies] | 11 | [dependencies] |
| 12 | -cros-libva = { git = "https://github.com/chromeos/cros-libva", rev = "59384456ac2ae78c0c3e5515f41ef1efd9b802cf" } | 12 | +cros-libva = { path = "../../shims/cros-libva" } |