refactor: remove macos cfg conts functions
Zigbuild updated to rust 1.87
This commit is contained in:
@@ -407,13 +407,6 @@ impl AppData {
|
||||
|
||||
/// Container state methods
|
||||
/// Get the total number of none "hidden" containers
|
||||
// TODO remove this once zigbuild uses Rust v1.87.0
|
||||
#[cfg(target_os = "macos")]
|
||||
pub fn get_container_len(&self) -> usize {
|
||||
self.containers.items.len()
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
pub const fn get_container_len(&self) -> usize {
|
||||
self.containers.items.len()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user