From 75848b26ef02017f673e2dd98900b51f0771f4d4 Mon Sep 17 00:00:00 2001 From: Felix Krull Date: Sat, 17 Oct 2020 21:37:40 +0200 Subject: [PATCH] Regenerate based on new gir --- rust-bindings/rust/Cargo.toml | 1 + .../rust/src/auto/bootconfig_parser.rs | 14 +++++++ rust-bindings/rust/src/auto/repo.rs | 32 +++++++++++++--- rust-bindings/rust/src/auto/sysroot.rs | 21 +++++++++++ rust-bindings/rust/src/auto/versions.txt | 4 +- rust-bindings/rust/sys/Cargo.toml | 2 + rust-bindings/rust/sys/src/auto/versions.txt | 4 +- rust-bindings/rust/sys/src/lib.rs | 37 +++++++++++++++++++ rust-bindings/rust/sys/tests/abi.rs | 1 + 9 files changed, 106 insertions(+), 10 deletions(-) diff --git a/rust-bindings/rust/Cargo.toml b/rust-bindings/rust/Cargo.toml index 23eb9749..02baea4b 100644 --- a/rust-bindings/rust/Cargo.toml +++ b/rust-bindings/rust/Cargo.toml @@ -87,3 +87,4 @@ v2019_6 = ["v2019_4", "ostree-sys/v2019_6"] v2020_1 = ["v2019_6", "ostree-sys/v2020_1"] v2020_2 = ["v2020_1", "ostree-sys/v2020_2"] v2020_4 = ["v2020_2", "ostree-sys/v2020_4"] +v2020_7 = ["v2020_4", "ostree-sys/v2020_7"] diff --git a/rust-bindings/rust/src/auto/bootconfig_parser.rs b/rust-bindings/rust/src/auto/bootconfig_parser.rs index 24589150..43be2dab 100644 --- a/rust-bindings/rust/src/auto/bootconfig_parser.rs +++ b/rust-bindings/rust/src/auto/bootconfig_parser.rs @@ -38,6 +38,13 @@ impl BootconfigParser { } } + #[cfg(any(feature = "v2020_7", feature = "dox"))] + pub fn get_overlay_initrds(&self) -> Vec { + unsafe { + FromGlibPtrContainer::from_glib_none(ostree_sys::ostree_bootconfig_parser_get_overlay_initrds(self.to_glib_none().0)) + } + } + pub fn parse, Q: IsA>(&self, path: &P, cancellable: Option<&Q>) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); @@ -60,6 +67,13 @@ impl BootconfigParser { } } + #[cfg(any(feature = "v2020_7", feature = "dox"))] + pub fn set_overlay_initrds(&self, initrds: &[&str]) { + unsafe { + ostree_sys::ostree_bootconfig_parser_set_overlay_initrds(self.to_glib_none().0, initrds.to_glib_none().0); + } + } + pub fn write, Q: IsA>(&self, output: &P, cancellable: Option<&Q>) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); diff --git a/rust-bindings/rust/src/auto/repo.rs b/rust-bindings/rust/src/auto/repo.rs index 71dbb159..3e62b8bc 100644 --- a/rust-bindings/rust/src/auto/repo.rs +++ b/rust-bindings/rust/src/auto/repo.rs @@ -48,6 +48,8 @@ use RepoRemoteChange; #[cfg(any(feature = "v2016_7", feature = "dox"))] use RepoResolveRevExtFlags; use RepoTransactionStats; +#[cfg(any(feature = "v2020_7", feature = "dox"))] +use Sign; use StaticDeltaGenerateOpt; glib_wrapper! { @@ -343,11 +345,11 @@ impl Repo { // unsafe { TODO: call ostree_sys:ostree_repo_list_collection_refs() } //} - //pub fn list_commit_objects_starting_with>(&self, start: &str, out_commits: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 187 }/TypeId { ns_id: 2, id: 187 }, cancellable: Option<&P>) -> Result<(), glib::Error> { + //pub fn list_commit_objects_starting_with>(&self, start: &str, out_commits: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 194 }/TypeId { ns_id: 2, id: 194 }, cancellable: Option<&P>) -> Result<(), glib::Error> { // unsafe { TODO: call ostree_sys:ostree_repo_list_commit_objects_starting_with() } //} - //pub fn list_objects>(&self, flags: RepoListObjectsFlags, out_objects: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 187 }/TypeId { ns_id: 2, id: 187 }, cancellable: Option<&P>) -> Result<(), glib::Error> { + //pub fn list_objects>(&self, flags: RepoListObjectsFlags, out_objects: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 194 }/TypeId { ns_id: 2, id: 194 }, cancellable: Option<&P>) -> Result<(), glib::Error> { // unsafe { TODO: call ostree_sys:ostree_repo_list_objects() } //} @@ -775,6 +777,15 @@ impl Repo { } } + #[cfg(any(feature = "v2020_7", feature = "dox"))] + pub fn static_delta_execute_offline_with_signature, Q: IsA, R: IsA>(&self, dir_or_file: &P, sign: &Q, skip_validation: bool, cancellable: Option<&R>) -> Result<(), glib::Error> { + unsafe { + let mut error = ptr::null_mut(); + let _ = ostree_sys::ostree_repo_static_delta_execute_offline_with_signature(self.to_glib_none().0, dir_or_file.as_ref().to_glib_none().0, sign.as_ref().to_glib_none().0, skip_validation.to_glib(), cancellable.map(|p| p.as_ref()).to_glib_none().0, &mut error); + if error.is_null() { Ok(()) } else { Err(from_glib_full(error)) } + } + } + pub fn static_delta_generate>(&self, opt: StaticDeltaGenerateOpt, from: &str, to: &str, metadata: Option<&glib::Variant>, params: Option<&glib::Variant>, cancellable: Option<&P>) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); @@ -783,6 +794,15 @@ impl Repo { } } + #[cfg(any(feature = "v2020_7", feature = "dox"))] + pub fn static_delta_verify_signature>(&self, delta_id: &str, sign: &P, out_success_message: &str) -> Result<(), glib::Error> { + unsafe { + let mut error = ptr::null_mut(); + let _ = ostree_sys::ostree_repo_static_delta_verify_signature(self.to_glib_none().0, delta_id.to_glib_none().0, sign.as_ref().to_glib_none().0, out_success_message.to_glib_none().0, &mut error); + if error.is_null() { Ok(()) } else { Err(from_glib_full(error)) } + } + } + #[cfg(any(feature = "v2018_6", feature = "dox"))] pub fn transaction_set_collection_ref(&self, ref_: &CollectionRef, checksum: Option<&str>) { unsafe { @@ -802,7 +822,7 @@ impl Repo { } } - //pub fn traverse_commit>(&self, commit_checksum: &str, maxdepth: i32, out_reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 187 }/TypeId { ns_id: 2, id: 187 }, cancellable: Option<&P>) -> Result<(), glib::Error> { + //pub fn traverse_commit>(&self, commit_checksum: &str, maxdepth: i32, out_reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 194 }/TypeId { ns_id: 2, id: 194 }, cancellable: Option<&P>) -> Result<(), glib::Error> { // unsafe { TODO: call ostree_sys:ostree_repo_traverse_commit() } //} @@ -816,7 +836,7 @@ impl Repo { //} //#[cfg(any(feature = "v2018_6", feature = "dox"))] - //pub fn traverse_reachable_refs>(&self, depth: u32, reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 187 }/TypeId { ns_id: 2, id: 187 }, cancellable: Option<&P>) -> Result<(), glib::Error> { + //pub fn traverse_reachable_refs>(&self, depth: u32, reachable: /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 194 }/TypeId { ns_id: 2, id: 194 }, cancellable: Option<&P>) -> Result<(), glib::Error> { // unsafe { TODO: call ostree_sys:ostree_repo_traverse_reachable_refs() } //} @@ -1001,11 +1021,11 @@ impl Repo { //} //#[cfg(any(feature = "v2018_5", feature = "dox"))] - //pub fn traverse_new_parents() -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 187 }/TypeId { ns_id: 2, id: 187 } { + //pub fn traverse_new_parents() -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 194 }/TypeId { ns_id: 2, id: 194 } { // unsafe { TODO: call ostree_sys:ostree_repo_traverse_new_parents() } //} - //pub fn traverse_new_reachable() -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 187 }/TypeId { ns_id: 2, id: 187 } { + //pub fn traverse_new_reachable() -> /*Unknown conversion*//*Unimplemented*/HashTable TypeId { ns_id: 2, id: 194 }/TypeId { ns_id: 2, id: 194 } { // unsafe { TODO: call ostree_sys:ostree_repo_traverse_new_reachable() } //} diff --git a/rust-bindings/rust/src/auto/sysroot.rs b/rust-bindings/rust/src/auto/sysroot.rs index 9915cc19..b066af07 100644 --- a/rust-bindings/rust/src/auto/sysroot.rs +++ b/rust-bindings/rust/src/auto/sysroot.rs @@ -68,6 +68,7 @@ impl Sysroot { // unsafe { TODO: call ostree_sys:ostree_sysroot_cleanup_prune_repo() } //} + #[cfg(any(feature = "v2018_5", feature = "dox"))] pub fn deploy_tree>(&self, osname: Option<&str>, revision: &str, origin: Option<&glib::KeyFile>, provided_merge_deployment: Option<&Deployment>, override_kernel_argv: &[&str], cancellable: Option<&P>) -> Result { unsafe { let mut out_new_deployment = ptr::null_mut(); @@ -77,6 +78,11 @@ impl Sysroot { } } + //#[cfg(any(feature = "v2020_7", feature = "dox"))] + //pub fn deploy_tree_with_options>(&self, osname: Option<&str>, revision: &str, origin: Option<&glib::KeyFile>, provided_merge_deployment: Option<&Deployment>, opts: /*Ignored*/Option<&mut SysrootDeployTreeOpts>, cancellable: Option<&P>) -> Result { + // unsafe { TODO: call ostree_sys:ostree_sysroot_deploy_tree_with_options() } + //} + pub fn deployment_set_kargs>(&self, deployment: &Deployment, new_kargs: &[&str], cancellable: Option<&P>) -> Result<(), glib::Error> { unsafe { let mut error = ptr::null_mut(); @@ -318,6 +324,16 @@ impl Sysroot { } } + #[cfg(any(feature = "v2020_7", feature = "dox"))] + pub fn stage_overlay_initrd>(&self, fd: i32, cancellable: Option<&P>) -> Result { + unsafe { + let mut out_checksum = ptr::null_mut(); + let mut error = ptr::null_mut(); + let _ = ostree_sys::ostree_sysroot_stage_overlay_initrd(self.to_glib_none().0, fd, &mut out_checksum, cancellable.map(|p| p.as_ref()).to_glib_none().0, &mut error); + if error.is_null() { Ok(from_glib_full(out_checksum)) } else { Err(from_glib_full(error)) } + } + } + #[cfg(any(feature = "v2018_5", feature = "dox"))] pub fn stage_tree>(&self, osname: Option<&str>, revision: &str, origin: Option<&glib::KeyFile>, merge_deployment: Option<&Deployment>, override_kernel_argv: &[&str], cancellable: Option<&P>) -> Result { unsafe { @@ -328,6 +344,11 @@ impl Sysroot { } } + //#[cfg(any(feature = "v2020_7", feature = "dox"))] + //pub fn stage_tree_with_options>(&self, osname: Option<&str>, revision: &str, origin: Option<&glib::KeyFile>, merge_deployment: Option<&Deployment>, opts: /*Ignored*/&mut SysrootDeployTreeOpts, cancellable: Option<&P>) -> Result { + // unsafe { TODO: call ostree_sys:ostree_sysroot_stage_tree_with_options() } + //} + pub fn try_lock(&self) -> Result { unsafe { let mut out_acquired = mem::MaybeUninit::uninit(); diff --git a/rust-bindings/rust/src/auto/versions.txt b/rust-bindings/rust/src/auto/versions.txt index 5804403d..283ef13e 100644 --- a/rust-bindings/rust/src/auto/versions.txt +++ b/rust-bindings/rust/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab) -from gir-files (https://github.com/gtk-rs/gir-files @ 9f83d52+) +Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1) +from gir-files (https://github.com/gtk-rs/gir-files @ ???) diff --git a/rust-bindings/rust/sys/Cargo.toml b/rust-bindings/rust/sys/Cargo.toml index 542eca1a..bd9d395e 100644 --- a/rust-bindings/rust/sys/Cargo.toml +++ b/rust-bindings/rust/sys/Cargo.toml @@ -51,6 +51,7 @@ v2020_1 = ["v2019_6"] v2020_2 = ["v2020_1"] v2020_4 = ["v2020_2"] dox = [] +v2020_7 = ["v2020_4"] [lib] name = "ostree_sys" @@ -109,3 +110,4 @@ v2019_6 = "2019.6" v2020_1 = "2020.1" v2020_2 = "2020.2" v2020_4 = "2020.4" +v2020_7 = "2020.7" diff --git a/rust-bindings/rust/sys/src/auto/versions.txt b/rust-bindings/rust/sys/src/auto/versions.txt index 5804403d..283ef13e 100644 --- a/rust-bindings/rust/sys/src/auto/versions.txt +++ b/rust-bindings/rust/sys/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab) -from gir-files (https://github.com/gtk-rs/gir-files @ 9f83d52+) +Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1) +from gir-files (https://github.com/gtk-rs/gir-files @ ???) diff --git a/rust-bindings/rust/sys/src/lib.rs b/rust-bindings/rust/sys/src/lib.rs index b2a96cab..6864d7df 100644 --- a/rust-bindings/rust/sys/src/lib.rs +++ b/rust-bindings/rust/sys/src/lib.rs @@ -760,6 +760,28 @@ impl ::std::fmt::Debug for OstreeSignInterface { } } +#[repr(C)] +#[derive(Copy, Clone)] +pub struct OstreeSysrootDeployTreeOpts { + pub unused_bools: [gboolean; 8], + pub unused_ints: [c_int; 8], + pub override_kernel_argv: *mut *mut c_char, + pub overlay_initrds: *mut *mut c_char, + pub unused_ptrs: [gpointer; 6], +} + +impl ::std::fmt::Debug for OstreeSysrootDeployTreeOpts { + fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { + f.debug_struct(&format!("OstreeSysrootDeployTreeOpts @ {:?}", self as *const _)) + .field("unused_bools", &self.unused_bools) + .field("unused_ints", &self.unused_ints) + .field("override_kernel_argv", &self.override_kernel_argv) + .field("overlay_initrds", &self.overlay_initrds) + .field("unused_ptrs", &self.unused_ptrs) + .finish() + } +} + #[repr(C)] #[derive(Copy, Clone)] pub struct OstreeSysrootWriteDeploymentsOpts { @@ -1143,9 +1165,13 @@ extern "C" { pub fn ostree_bootconfig_parser_new() -> *mut OstreeBootconfigParser; pub fn ostree_bootconfig_parser_clone(self_: *mut OstreeBootconfigParser) -> *mut OstreeBootconfigParser; pub fn ostree_bootconfig_parser_get(self_: *mut OstreeBootconfigParser, key: *const c_char) -> *const c_char; + #[cfg(any(feature = "v2020_7", feature = "dox"))] + pub fn ostree_bootconfig_parser_get_overlay_initrds(self_: *mut OstreeBootconfigParser) -> *mut *mut c_char; pub fn ostree_bootconfig_parser_parse(self_: *mut OstreeBootconfigParser, path: *mut gio::GFile, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; pub fn ostree_bootconfig_parser_parse_at(self_: *mut OstreeBootconfigParser, dfd: c_int, path: *const c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; pub fn ostree_bootconfig_parser_set(self_: *mut OstreeBootconfigParser, key: *const c_char, value: *const c_char); + #[cfg(any(feature = "v2020_7", feature = "dox"))] + pub fn ostree_bootconfig_parser_set_overlay_initrds(self_: *mut OstreeBootconfigParser, initrds: *mut *mut c_char); pub fn ostree_bootconfig_parser_write(self_: *mut OstreeBootconfigParser, output: *mut gio::GFile, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; pub fn ostree_bootconfig_parser_write_at(self_: *mut OstreeBootconfigParser, dfd: c_int, path: *const c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; @@ -1369,7 +1395,11 @@ extern "C" { pub fn ostree_repo_sign_commit(self_: *mut OstreeRepo, commit_checksum: *const c_char, key_id: *const c_char, homedir: *const c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; pub fn ostree_repo_sign_delta(self_: *mut OstreeRepo, from_commit: *const c_char, to_commit: *const c_char, key_id: *const c_char, homedir: *const c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; pub fn ostree_repo_static_delta_execute_offline(self_: *mut OstreeRepo, dir_or_file: *mut gio::GFile, skip_validation: gboolean, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; + #[cfg(any(feature = "v2020_7", feature = "dox"))] + pub fn ostree_repo_static_delta_execute_offline_with_signature(self_: *mut OstreeRepo, dir_or_file: *mut gio::GFile, sign: *mut OstreeSign, skip_validation: gboolean, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; pub fn ostree_repo_static_delta_generate(self_: *mut OstreeRepo, opt: OstreeStaticDeltaGenerateOpt, from: *const c_char, to: *const c_char, metadata: *mut glib::GVariant, params: *mut glib::GVariant, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; + #[cfg(any(feature = "v2020_7", feature = "dox"))] + pub fn ostree_repo_static_delta_verify_signature(self_: *mut OstreeRepo, delta_id: *const c_char, sign: *mut OstreeSign, out_success_message: *mut *mut c_char, error: *mut *mut glib::GError) -> gboolean; #[cfg(any(feature = "v2018_6", feature = "dox"))] pub fn ostree_repo_transaction_set_collection_ref(self_: *mut OstreeRepo, ref_: *const OstreeCollectionRef, checksum: *const c_char); pub fn ostree_repo_transaction_set_ref(self_: *mut OstreeRepo, remote: *const c_char, ref_: *const c_char, checksum: *const c_char); @@ -1481,7 +1511,10 @@ extern "C" { pub fn ostree_sysroot_cleanup(self_: *mut OstreeSysroot, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; #[cfg(any(feature = "v2018_6", feature = "dox"))] pub fn ostree_sysroot_cleanup_prune_repo(sysroot: *mut OstreeSysroot, options: *mut OstreeRepoPruneOptions, out_objects_total: *mut c_int, out_objects_pruned: *mut c_int, out_pruned_object_size_total: *mut u64, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; + #[cfg(any(feature = "v2018_5", feature = "dox"))] pub fn ostree_sysroot_deploy_tree(self_: *mut OstreeSysroot, osname: *const c_char, revision: *const c_char, origin: *mut glib::GKeyFile, provided_merge_deployment: *mut OstreeDeployment, override_kernel_argv: *mut *mut c_char, out_new_deployment: *mut *mut OstreeDeployment, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; + #[cfg(any(feature = "v2020_7", feature = "dox"))] + pub fn ostree_sysroot_deploy_tree_with_options(self_: *mut OstreeSysroot, osname: *const c_char, revision: *const c_char, origin: *mut glib::GKeyFile, provided_merge_deployment: *mut OstreeDeployment, opts: *mut OstreeSysrootDeployTreeOpts, out_new_deployment: *mut *mut OstreeDeployment, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; pub fn ostree_sysroot_deployment_set_kargs(self_: *mut OstreeSysroot, deployment: *mut OstreeDeployment, new_kargs: *mut *mut c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; pub fn ostree_sysroot_deployment_set_mutable(self_: *mut OstreeSysroot, deployment: *mut OstreeDeployment, is_mutable: gboolean, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; #[cfg(any(feature = "v2018_3", feature = "dox"))] @@ -1522,8 +1555,12 @@ extern "C" { #[cfg(any(feature = "v2020_1", feature = "dox"))] pub fn ostree_sysroot_set_mount_namespace_in_use(self_: *mut OstreeSysroot); pub fn ostree_sysroot_simple_write_deployment(sysroot: *mut OstreeSysroot, osname: *const c_char, new_deployment: *mut OstreeDeployment, merge_deployment: *mut OstreeDeployment, flags: OstreeSysrootSimpleWriteDeploymentFlags, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; + #[cfg(any(feature = "v2020_7", feature = "dox"))] + pub fn ostree_sysroot_stage_overlay_initrd(self_: *mut OstreeSysroot, fd: c_int, out_checksum: *mut *mut c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; #[cfg(any(feature = "v2018_5", feature = "dox"))] pub fn ostree_sysroot_stage_tree(self_: *mut OstreeSysroot, osname: *const c_char, revision: *const c_char, origin: *mut glib::GKeyFile, merge_deployment: *mut OstreeDeployment, override_kernel_argv: *mut *mut c_char, out_new_deployment: *mut *mut OstreeDeployment, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; + #[cfg(any(feature = "v2020_7", feature = "dox"))] + pub fn ostree_sysroot_stage_tree_with_options(self_: *mut OstreeSysroot, osname: *const c_char, revision: *const c_char, origin: *mut glib::GKeyFile, merge_deployment: *mut OstreeDeployment, opts: *mut OstreeSysrootDeployTreeOpts, out_new_deployment: *mut *mut OstreeDeployment, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean; pub fn ostree_sysroot_try_lock(self_: *mut OstreeSysroot, out_acquired: *mut gboolean, error: *mut *mut glib::GError) -> gboolean; pub fn ostree_sysroot_unload(self_: *mut OstreeSysroot); pub fn ostree_sysroot_unlock(self_: *mut OstreeSysroot); diff --git a/rust-bindings/rust/sys/tests/abi.rs b/rust-bindings/rust/sys/tests/abi.rs index 6f84ad9c..1f917ee5 100644 --- a/rust-bindings/rust/sys/tests/abi.rs +++ b/rust-bindings/rust/sys/tests/abi.rs @@ -284,6 +284,7 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[ ("OstreeSePolicyRestoreconFlags", Layout {size: size_of::(), alignment: align_of::()}), ("OstreeSignInterface", Layout {size: size_of::(), alignment: align_of::()}), ("OstreeStaticDeltaGenerateOpt", Layout {size: size_of::(), alignment: align_of::()}), + ("OstreeSysrootDeployTreeOpts", Layout {size: size_of::(), alignment: align_of::()}), ("OstreeSysrootSimpleWriteDeploymentFlags", Layout {size: size_of::(), alignment: align_of::()}), ("OstreeSysrootUpgraderFlags", Layout {size: size_of::(), alignment: align_of::()}), ("OstreeSysrootUpgraderPullFlags", Layout {size: size_of::(), alignment: align_of::()}),