//! libc - Raw FFI bindings to platforms' system libraries #![crate_name = "libc"] #![crate_type = "rlib"] #![allow(
renamed_and_removed_lints, // Keep this order.
unknown_lints, // Keep this order.
nonstandard_style,
overflowing_literals,
unused_macros,
unused_macro_rules,
)] #![warn(
missing_copy_implementations,
missing_debug_implementations,
safe_packed_borrows
)] // Prepare for a future upgrade #![warn(rust_2024_compatibility)] // Things missing for 2024 that are blocked on MSRV or breakage #![allow(
missing_unsafe_on_extern,
edition_2024_expr_fragment_specifier, // Allowed globally, the warning is enabled in individual modules as we work through them
unsafe_op_in_unsafe_fn
)] #![cfg_attr(libc_deny_warnings, deny(warnings))] // Attributes needed when building as part of the standard library #![cfg_attr(feature = "rustc-dep-of-std", feature(link_cfg, no_core))] #![cfg_attr(feature = "rustc-dep-of-std", allow(internal_features))] #![cfg_attr(feature = "rustc-dep-of-std", allow(unused_features))] // DIFF(1.0): The thread local references that raise this lint were removed in 1.0 #![cfg_attr(feature = "rustc-dep-of-std", allow(static_mut_refs))] #![cfg_attr(not(feature = "rustc-dep-of-std"), no_std)] #![cfg_attr(feature = "rustc-dep-of-std", no_core)]
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.