File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ validate-rust:
9494 cargo test --no-run
9595 (cd crates/ostree-ext && cargo check --no-default-features)
9696 (cd crates/lib && cargo check --no-default-features)
97+ cargo check --features=composefs-backend
9798 cargo clippy -- $(CLIPPY_CONFIG )
9899 env RUSTDOCFLAGS=' -D warnings' cargo doc --lib
99100.PHONY : validate-rust
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ pub fn mount_at_wrapper(
112112 . with_context ( || format ! ( "Mounting at path {path:?}" ) )
113113}
114114
115- /// Wrapper around [`rustix::openat`]
115+ /// Wrapper around [`rustix::fs:: openat`]
116116#[ context( "Opening dir {name:?}" ) ]
117117pub fn open_dir ( dirfd : impl AsFd , name : impl AsRef < Path > + Debug ) -> Result < OwnedFd > {
118118 let res = openat (
Original file line number Diff line number Diff line change @@ -87,7 +87,9 @@ const SELINUXFS: &str = "/sys/fs/selinux";
8787/// The mount path for uefi
8888pub ( crate ) const EFIVARFS : & str = "/sys/firmware/efi/efivars" ;
8989pub ( crate ) const ARCH_USES_EFI : bool = cfg ! ( any( target_arch = "x86_64" , target_arch = "aarch64" ) ) ;
90+ #[ cfg( any( feature = "composefs-backend" , feature = "install-to-disk" ) ) ]
9091pub ( crate ) const ESP_GUID : & str = "C12A7328-F81F-11D2-BA4B-00A0C93EC93B" ;
92+ #[ cfg( any( feature = "composefs-backend" , feature = "install-to-disk" ) ) ]
9193pub ( crate ) const DPS_UUID : & str = "6523f8ae-3eb1-4e2a-a05a-18b695ae656f" ;
9294
9395const DEFAULT_REPO_CONFIG : & [ ( & str , & str ) ] = & [
You can’t perform that action at this time.
0 commit comments