Searched refs:cfg_attr (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/rust/alloc/ |
H A D | lib.rs | 93 #![cfg_attr(not(bootstrap), allow(internal_features))] 94 #![cfg_attr(not(bootstrap), allow(rustdoc::redundant_explicit_links))] 98 #![cfg_attr(not(no_global_oom_handling), feature(const_alloc_error))] 99 #![cfg_attr(not(no_global_oom_handling), feature(const_btree_len))] 100 #![cfg_attr(test, feature(is_sorted))] 101 #![cfg_attr(test, feature(new_uninit))] 114 #![cfg_attr(not(no_borrow), feature(const_cow_is_borrowed))] 171 #![cfg_attr(not(test), feature(generator_trait))] 172 #![cfg_attr(test, feature(panic_update_hook))] 173 #![cfg_attr(test, feature(test))]
|
H A D | slice.rs | 15 #![cfg_attr(test, allow(unused_imports, dead_code))]
|
/openbmc/linux/rust/uapi/ |
H A D | lib.rs | 12 #![cfg_attr(test, allow(deref_nullptr))] 13 #![cfg_attr(test, allow(unaligned_references))] 14 #![cfg_attr(test, allow(unsafe_op_in_unsafe_fn))]
|
/openbmc/linux/rust/bindings/ |
H A D | lib.rs | 13 #![cfg_attr(test, allow(deref_nullptr))] 14 #![cfg_attr(test, allow(unaligned_references))] 15 #![cfg_attr(test, allow(unsafe_op_in_unsafe_fn))]
|
/openbmc/linux/rust/kernel/ |
H A D | print.rs | 102 #[cfg_attr(not(CONFIG_PRINTK), allow(unused_variables))] 125 #[cfg_attr(not(CONFIG_PRINTK), allow(unused_variables))]
|
/openbmc/linux/rust/alloc/vec/ |
H A D | mod.rs | 397 #[cfg_attr(not(test), rustc_diagnostic_item = "Vec")]
|