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:
94
94
cargo test --no-run
95
95
(cd crates/ostree-ext && cargo check --no-default-features)
96
96
(cd crates/lib && cargo check --no-default-features)
97
+ cargo check --features=composefs-backend
97
98
cargo clippy -- $(CLIPPY_CONFIG )
98
99
env RUSTDOCFLAGS=' -D warnings' cargo doc --lib
99
100
.PHONY : validate-rust
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ pub fn mount_at_wrapper(
112
112
. with_context ( || format ! ( "Mounting at path {path:?}" ) )
113
113
}
114
114
115
- /// Wrapper around [`rustix::openat`]
115
+ /// Wrapper around [`rustix::fs:: openat`]
116
116
#[ context( "Opening dir {name:?}" ) ]
117
117
pub fn open_dir ( dirfd : impl AsFd , name : impl AsRef < Path > + Debug ) -> Result < OwnedFd > {
118
118
let res = openat (
Original file line number Diff line number Diff line change @@ -87,7 +87,9 @@ const SELINUXFS: &str = "/sys/fs/selinux";
87
87
/// The mount path for uefi
88
88
pub ( crate ) const EFIVARFS : & str = "/sys/firmware/efi/efivars" ;
89
89
pub ( 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" ) ) ]
90
91
pub ( crate ) const ESP_GUID : & str = "C12A7328-F81F-11D2-BA4B-00A0C93EC93B" ;
92
+ #[ cfg( any( feature = "composefs-backend" , feature = "install-to-disk" ) ) ]
91
93
pub ( crate ) const DPS_UUID : & str = "6523f8ae-3eb1-4e2a-a05a-18b695ae656f" ;
92
94
93
95
const DEFAULT_REPO_CONFIG : & [ ( & str , & str ) ] = & [
You can’t perform that action at this time.
0 commit comments