//! `aconfig_flags` is a crate for reading aconfig flags from Rust // When building with the Android tool-chain // // - the flag functions will read from aconfig_flags_inner // - the feature "cargo" will be disabled // // When building with cargo // // - the flag functions will all return some trivial value, like true // - the feature "cargo" will be enabled // // This module hides these differences from the rest of aconfig.
/// Module used when building with the Android tool-chain #[cfg(not(feature = "cargo"))] pubmod auto_generated { /// Returns the value for the enable_aconfigd_from_mainline flag. pubfn enable_aconfigd_from_mainline() -> bool {
aconfig_flags_rust::enable_only_new_storage()
}
/// Returns the value for the aflags_list_mainline_beta flag. pubfn aflags_list_mainline_beta() -> bool {
aconfig_flags_rust::aflags_list_mainline_beta()
}
}
/// Module used when building with cargo #[cfg(feature = "cargo")] pubmod auto_generated { /// Returns a placeholder value for the enable_aconfigd_from_mainline flag. pubfn enable_aconfigd_from_mainline() -> bool { // Used only to enable typechecking and testing with cargo true
}
/// Returns the value for the aflags_list_mainline_beta flag. pubfn aflags_list_mainline_beta() -> bool { // Used only to enable typechecking and testing with cargo true
}
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-06-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.