Files
archy/core/target/debug/deps/libcfg_if-2a7f818c77537d26.rmeta
T

51 lines
5.2 KiB
Plaintext
Raw Normal View History

rust
?#rustc 1.93.0 (254b59607 2026-01-19)Á³VOÐêùÿ²?ÑL¼§Ì±-a7a40eb546f9e2b0Áë&Gf·Ã ¬ëñq:¤»b-bb76018b1173caf6ÁtestsÁ,ëà³cfg_ifÁ³´üß1ü52 A macro for defining `#[cfg]` if-else statements.Á6Ëü:MJ The macro provided by this crate, `cfg_if`, is similar to the `if/elif` CÁüˆMJ preprocessor macro by allowing definition of a cascade of `#[cfg]` cases,ÁüÖ41 emitting the implementation which matches first.ÁËüQN This allows you to conveniently provide a long list `#[cfg]`'d blocks of codeÁüá96 without having to rewrite each clause multiple times.ÁË
# ExampleÁ­Ë ```Á¬¹ cfg_if::cfg_if! {ÁÌÏ if #[cfg(unix)] {Áüé:7 fn foo() { /* unix specific functionality */ }Áü¤74 } else if #[cfg(target_pointer_width = "32")] {ÁüÜ=: fn foo() { /* non-unix, 32-bit functionality */ }Á„š
} else {Áü«63 fn foo() { /* fallback implementation */ }ÁòË”ö # fn main() {}Á<‰ë¡  £ Ì8¹ ²7https://docs.rs/cfg-ifÁÄ´ü1³ À´ Ð À À Àœªü½KH The main macro provided by this crate. See crate documentation for moreÁ„‰
information.Á&|š Ð ¾ × Ä Ÿ
8Î+ Ñ Ò è8¢Ó Ö ç, Ø Ù ä, Ú8i_metaÁ& á8â å ê ÿ, ì í ü, ï8i_tokensÁ& ø8ù
ý,  Š Ú 8$˜ 8 +    ¡ ¸ 8¢¢  ¥ · , §  ¨ ´ , © 8ei_metaÁ& ± 8²  µ  º Ð , ¼  ½ Í , ¿ 8 ei_tokensÁ& É 8Ê
Î
Û , å  æ ˜
8 ù Ž
, û  ü
, þ 8e_tokensÁDÿ &
8ˆ
Œ
-
*¡
 ¤
º , ®
8
'´
8´
 ¼
 ¾
´   Ì
8__itemsÁ
 Õ
Ö
% Ø
 æ
Š  ç
õ
, é
 ê
ò
, ë
8ø
 ó
 ÷
, ù
 ú
, ü
8Ê
$ ,  š á  ¬ Ò  ­ ¼ , ¯  ° ¹ , ± 8å
 º  ¾ Ñ , À  Á Î , Ã 8¸
Ï $ Ó
â , ð  ñ ©  ƒ š   ,  Š , Œ 8²D
$ - ª % »   ¹ 8·<— Ÿ µ, ¡ ¢ ² ¤ ®, ¥ ¦ ¬, §8 ¨& ©8ª
­$ °