Files
meetingroom-netscreen/push_screen_rust/target/debug/deps/libcfg_aliases-ecfecae26b019736.rmeta

21 lines
17 KiB
Plaintext
Raw Normal View History

rust
<EFBFBD>ABrustc 1.91.1 (ed61e7d7e 2025-11-07) (Rev1, Built by MSYS2 project)<29><02>z<00><><EFBFBD>v<EFBFBD><76><EFBFBD>_L<5F><4C><16>-b7ba0d454035f46e<36><02>0<>#`a<><61>i<EFBFBD>+<2B>F<EFBFBD>T8<-0a5677bcdbf6ca93<39><02>P"~<7E><>j.@݆<>m<EFBFBD><6D>-0e40213d20945e66<36><02>1<>-<2D>3<EFBFBD><33>%<25>:<3A><>R<>-0a51333fad0e7ace<63><02> <09>t4<74><34><EFBFBD>X0<><30>T%<25>Y-99f85c7fe67cb72d<32>rustc_std_workspace_core<72><65>S<EFBFBD><53>QQ;%<25><><1D><1F>-66851ed73bc307db<64><02>ja<13><><EFBFBD>˚$/z1K<31><4B><EFBFBD>-dfe8c0cb3eed9a56<35> miniz_oxide<64>$<24>I<EFBFBD><49>L<EFBFBD> }<7D>M7M"u-485603f6129fcde3<65>adler2<72>0<EFBFBD><65><03><><EFBFBD><EFBFBD>(<28>[<5B>-bc37dbc3f4788d47<34> hashbrown<77><6E><EFBFBD>^<5E>*ݽ<>h-<2D>7o<1A>-a4fd21c9d4cd9131<33>rustc_std_workspace_alloc<6F><63>Hr<48><72><EFBFBD>ֈ#<1B>*ʒG<CA92>-f2934bf091a24430<33>
std_detect<EFBFBD><EFBFBD><EFBFBD>*#<23><>B&<26><>b<EFBFBD><62>-04d6f0b7f0a1cbf3<66>rustc_demangle<6C><65><05>w<EFBFBD>mnaznq<6E>T<EFBFBD>H`-75f9d07faa668461<36>windows_targets<74><73><EFBFBD><EFBFBD><14><>Tp<><70>V[]<18>-1e7e2002877a7702<30>cfg_if<69><66><EFBFBD>|<7C><><EFBFBD><EFBFBD><EFBFBD>j<EFBFBD>/<2F>1<><31>-9a0ff217d313773e<33> addr2line<6E><65>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Qh<EFBFBD>T<EFBFBD>Z^<5E>p9-5cf1b423f27c2917<31>gimli<6C>2<EFBFBD>q<EFBFBD><71>0<EFBFBD><30>?i<>~(p-183935a8c8e2cc27<32>object<63><74>&<26>r<EFBFBD><72>&إ,y<><79><EFBFBD>|I-b58121bb5e8f1ebf<62>memchr<68><72>_<13><> 8<># B<><42><EFBFBD><EFBFBD><EFBFBD>-b16db7c5ac5d3d15<31><02> <0B>]'{<7B><>.s<>q<EFBFBD>&<26>`<60>-1bba00c8766e6077<37><02> cfg_aliases<65><02><01>\<5C>4<04><00>a<00> # CFG Aliases<65><02><00><16><00> CFG Aliases is a tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks. This crate provides a single [`cfg_aliases!`] macro that doesn't have any dependencies and specifically avoids pulling in `syn` or `quote` so that the impact on your comile times should be negligible.<2E><1C><02><00><><02><00> You use the the [`cfg_aliases!`] macro in your `build.rs` script to define aliases such as `x11` that could then be used in the `cfg` attribute or macro for conditional compilation: `#[cfg(x11)]`.<2E><1C><02>t<> ## Example<6C><1C><02><00><> **Cargo.toml:**<2A><1C><02>\<5C> ```toml<6D><00><> [build-dependencies]<5D><00><> cfg_aliases = "0.1.0"<22><<3C> ```<60><1C><02><00><> **build.rs:**<2A><1C><02>\<5C> ```rust<73><00><>! use cfg_aliases::cfg_aliases;<3B><1C><02>|<7C> fn main() {<7B><00><> // Setup cfg aliases<65><00><> cfg_aliases! {<7B>ę // Platforms<6D><00><>-* wasm: { target_arch = "wasm32" },<2C><00><>/, android: { target_os = "android" },<2C><00><>+( macos: { target_os = "macos" },<2C><00><>+( linux: { target_os = "linux" },<2C><00><> // Backends<64><00><>C@ surfman: { all(unix, feature = "surfman", not(wasm)) },<2C><00><>;8 glutin: { all(feature = "glutin", not(wasm)) },<2C><00><> >; wgl: { all(windows, feature = "wgl", not(wasm)) },<2C><00><> <9 dummy: { not(any(wasm, glutin, wgl, surfman)) },<2C>L<>  }<7D>,<2C>
 }<7D><<3C>
<01><1C>
<02><00><>
RO Now that we have our aliases setup we can use them just like you would expect:<3A><1C>
<02>\<5C>
<01><00><>
#[cfg(wasm)]<5D><00><> (% println!("This is running in WASM");<3B><1C> <02><00><>  #[cfg(surfman)]<5D>,<2C>  {<7B><00><> &# // Do stuff related to surfman<61>,<2C> <01><1C> <02><00><>  #[cfg(dummy)]<5D><00><> XU println!("We're in dummy mode, specify another feature if you want a smarter app!");<3B><<3C> <01><1C> <02><00><> RO This greatly improves what would otherwise look like this without the aliases:<3A><1C> <02>\<5C> <01><00><> " #[cfg(target_arch = "wasm32")]<5D><00><>&# println!("We're running in WASM");<3B><1C><02><00><>C@ #[cfg(all(unix, feature = "surfman", not(target_arch = "22")))]<5D>,<2C><01><00><>&<01>,<2C><01><1C><02><00><> #[cfg(not(any(<28><00><> target_arch = "wasm32",<2C><00><>DA all(unix, feature = "surfman", not(target_arch = "wasm32")),<2C><00><>C@ all(windows, feature = "wgl", not(target_arch = "wasm32")),<2C><00><>=: all(feature = "glutin", not(target_arch = "wasm32")),<2C>D<> )))]<5D><00><>X<01><<3C><01><1C><02><00><><12><00> You can also use the `cfg!` macro or combine your aliases with other checks using `all()`, `not()`, and `any()`. Your aliases are genuine `cfg` flags now!<21><1C><02>\<5C><01><00><> if cfg!(glutin) {<7B><00><> // use glutin<69>d<> } else {<7B><00><> // Do something else<73>,<2C><01><1C><02><00><>  #[cfg(all(glutin, surfman))]<5D><00><>NK compile_error!("You cannot specify both `glutin` and `surfman` features");<3B><<3C><01><1C><02><00><>  ## Syntax and Error Messages<65><1C><02><00><><15><00> The aliase names are restricted to the same rules as rust identifiers which, for one, means that they cannot have dashes ( `-` ) in them. Additionally, if you get certain syntax elements wrong, such as the alias name, the macro will error saying that the recursion limit was reached instead of giving a clear indication of what actually went wrong. This is due to a nuance with the macro parser and it might be fixed in a later release of this crate. It is also possible that aliases with dashes in the name might be supported in a later release. Open an issue if that is something that you would like implemented.<2E><1C><02><00><><1A><00> Finally, you can also induce an infinite recursion by having rules that both reference each-other, but this isn't a real limitation because that doesn't make logical sense anyway:<3A><1C><02><00><> ```rust,ignore<72><00><> // This causes an error!<21><00><> cfg_aliases! {<7B><00><> test1: { not(test2) },<2C><00><> test2: { not(test1) },<2C>,<2C><01><<3C><01><1C><02><00><> ## Attribution and Thanks<6B><1C><02><00><>eb - Thanks to my God and Father who led me through figuring this out and to whome I owe everything.<2E><00><>WT - Thanks to @Yandros on the Rust forum for [showing me][sm] some crazy macro hacks!<21><00><>YV - Thanks to @sfackler for [pointing out][po] the way to make cargo add the cfg flags.<2E><00><><1F><00> - Thanks to the authors of the [`tectonic_cfg_support::target_cfg`] macro from which most of the cfg attribute parsing logic is taken from. Also thanks to @ratmice for [bringing it up][bip] on the Rust forum.<2E><1C>!<02><00><>!<21>~ [`tectonic_cfg_support::target_cfg`]: https://docs.rs/tectonic_cfg_support/0.0.1/src/tectonic_cfg_support/lib.rs.html#166-298<39><00><>"MJ [po]: https://users.rust-lang.org/t/any-such-thing-as-cfg-aliases/40100/2<><00><>"OL [bip]: https://users.rust-lang.org/t/any-such-thing-as-cfg-aliases/40100/13<31><00><>#MJ [sm]: https://users.rust-lang.org/t/any-such-thing-as-cfg-aliases/40100/3<><02>=<01>M===<04><>4<00><>( Create `cfg` aliases<65><1C>)<02><00><>)<01><1C>)<02>\<5C>)<01><00><>)# # use cfg_aliases::cfg_aliases;<3B><00><>) // Setup cfg aliases<65><00><>)<01>)<00><>* // Platforms<6D><00><>*)& wasm: { target_arch = "wasm32" },<2C><00><>*+( android: { target_os = "android" },<2C><00><>*'$ macos: { target_os = "macos" },<2C><00><>+'$ linux: { target_os = "linux" },<2C><00><>+ // Backends<64><00><>+?< surfman: { all(unix, feature = "surfman", not(wasm)) },<2C>
cfg_is_set<EFBFBD>T<>5, <0C>58cfgname<6D><<3C>5& <0C>58<02>,<2C>5*<14>5 <0C>5 <0C>7 8<02><1C>5'<14>58<02><1C>5'<14>58<02><1C>5 <0C>5 <0C>78<02>4<>6 <0C>6 <0C>6 <0C>7 7 CARGO_CFG_{}<7D>t<>6$ <0C>6 <0C>68<02>L<>6 <0C>6 <0C>6 <0C>6, <0C>68<01><<<3C>6 <0C>68 to_uppercase<73>d<>6 <0C>6 <0C>6 <0C>68replace<63><<3C>6 <0C>6 <0C>67-<2D><1C>6$ <0C>67<1C>6 <0C>78is_ok<6F>,<2C>7 <0C>7 <0C>7% <0C>7 <0C>7 <0C>7 <0C>78cfg_has_feature<72>|<7C>7, <0C>78<02><<3C>7& <0C>78<02>$<24>7*<14>7 <0C>7 <0C>: <0C>8 <0C>: 8<02><1C>8'<14>88<02><1C>8'<14>88<02><1C>8 <0C>8 <0C>98<02>4<>8 <0C>8 <0C>8 <0C>97CARGO_FEATURE_{}<7D><00><>8$ <0C>8 <0C>88<02>L<>8 <0C>8 <0C>9 <0C>9, <0C>98<02><<3C>9 <0C>98<01>=d<>9 <0C>9 <0C>9 <0C>98<01>><<3C>9 <0C>9 <0C>97<01>><1C>9$ <0C>97<1C>9 <0C>98<01>><<3C>9 <0C>9 <0C>97"<22><1C>9$ <0C>97<02><14>9 <0C>98<02> <1C>9 <0C>9 <0C>9 <0C>98x<> <0C>9 <0C>98<01>B <0C>9<14>97<02><1C>9 <0C>98<02>L<>9 <0C>9 <0C>98 ,<2C>9% <0C>: <0C>: <0C>;  <0C>:8 cfg_contains<6E>d<>:, <0C>:8<01><<<3C>:& <0C>:8<02>,<2C>: <0C>;, <0C>;8cfgvalue<75>D<>;& <0C>;8<02>$<24>;*<14>; <0C>; <0C>=8<02><1C>;'<14>;8<02><1C>;'<14>;8<02><1C>; <0C>; <0C><8<02>4<>; <0C>; <0C>; <0C>< 7<01>=t<>;$ <0C>; <0C>;8<02>L<>; <0C>; <0C>; <0C><, <0C><8<01><<<3C>< <0C><8<01>=d<>< <0C>< <0C>< <0C><8<01>><<3C>< <0C>< <0C><7<01>><1C><$ <0C><7<1C>< <0C><8<02>L<>< <0C>< <0C><7<02><14>< <0C><8<02>L<>< <0C>< <0C>< <0C><8split<69>,<2C>< <0C>< <0C><7,<2C><1C>< <0C><8find<6E>$<24>< <0C>< <0C>= <0C><8<01>B <0C>< <0C><8<01>B <0C><<14>< <0C><, <0C><8<01>DD<>< <0C>=8is_some<6D><<3C>= <0C>= <0C>=% <0C>= <0C>> <0C>> <0C>>8 parser_emit<69>\<5C>>8<02><1C>>, <0C>> <0C>> <0C>> <0C>> <0C>>, <0C>> <0C>> <0C>>, <0C>>8grouped<65><<3C>>& <0C>>8<02><14>> <0C>> <0C>>*<14>> <0C>> <0C>? <0C>> <0C>?, <0C>> <0C>> <0C>? <0C>> <0C>?, <0C>>8,<2C>>'<14>?8<01>\<5C>? <0C>? <0C>? <0C>? <0C>?8parser<65>4<>?, <0C>? <0C>? <0C>?, <0C>?8<01>I<<3C>? <0C>?<14>? <0C>?% <0C>? <0C>? <0C>@ <0C>?8<01>I\<5C>?8<02><1C>@, <0C>@ <0C>@ <0C>@ <0C>@ <0C>@, <0C>@ <0C>@ <0C>@, <0C>@8<01>I<<3C>@& <0C>@8<02><14>@ <0C>@ <0C>@*<14>@ <0C>@ <0C>A <0C>@ <0C>A, <0C>@ <0C>@ <0C>A <0C>@ <0C>A, <0C>@8,<2C>@'<14>@8<01>\<5C>@ <0C>@ <0C>@ <0C>A <0C>@8<01>K4<>@, <0C>@ <0C>@ <0C>@, <0C>@8<01>I<<3C>@ <0C>@<14>A <0C>A% <0C>A <0C>G <0C>H  <0C>G8 parser_clause<73>l<>G, <0C>G8op<6F><14>G& <0C>G8<02>,<2C>G <0C>G <0C>H, <0C>G <0C>G <0C>G <0C>G <0C>G, <0C>G <0C>G <0C>G, <0C>G8<01>I<<3C>G& <0C>G8<02><14>G <0C>G <0C>H <0C>H <0C>H$ <0C>H, <0C>H <0C>H <0C>H, <0C>H8rest<73>$<24>H& <0C>H8<02><14>H <0C>H, <0C>H <0C>H <0C>H, <0C>H8current<6E><<3C>H& <0C>H8<02><14>H <0C>H*<14>H <0C>H <0C>I, <0C>H8,<2C>H'<14>H8<01>\<5C>H <0C>H <0C>H <0C>I <0C>H8<01>Nl<>H, <0C>H8<01>O<14>H <0C>H <0C>I, <0C>H <0C>H <0C>I <0C>I <0C>I, <0C>I <0C>I <0C>I, <0C>I8<01>I<<3C>I <0C>I <0C>I <0C>I <0C>I, <0C>I <0C>I <0C>I, <0C>I8<01>Q<<3C>I <0C>I <0C>I <0C>I, <0C>I <0C>I <0C>I, <0C>I8<01>P$<24>I <0C>I% <0C>I% <0C>I <0C>K <0C>L  <0C>K8<01>Nl<>K, <0C>K8<01>O<14>K& <0C>K8<02>,<2C>K <0C>L <0C>L, <0C>L <0C>L <0C>L <0C>L <0C>L, <0C>L <0C>L <0C>L, <0C>L8<01>I<<3C>L& <0C>L8<02><14>L <0C>L <0C>L <0C>L <0C>L, <0C>L8tok<6F><1C>L& <0C>L8<02><14>L, <0C>L <0C>L <0C>L, <0C>L8<01>P$<24>L& <0C>L8<02><14>L <0C>L, <0C>L <0C>L <0C>L, <0C>L8<01>Q<<3C>L& <0C>L8<02><14>L <0C>L*<14>L <0C>L <0C>N, <0C>L8,<2C>L'<14>L8<01>\<5C>L <0C>L <0C>L <0C>N  <0C>L8<01>Nl<>L, <0C>M8<01>O<14>M <0C>M <0C>M, <0C>M <0C>M <0C>M <0C>M <0C>M, <0C>M <0C>M <0C>M, <0C>M8<01>I<<3C>M <0C>M <0C>M <0C>M <0C>M, <0C>M <0C>M <0C>M, <0C>M8<01>P$<24>M <0C>M, <0C>M <0C>M <0C>N, <0C>M8<01>Q<<3C>M <0C>N, <0C>N8<01>U<1C>N% <0C>N% <0C>N <0C>O <0C>P  <0C>O8<01>Nl<>O, <0C>O8<01>O<14>O& <0C>O8<02>,<2C>O <0C>O <0C>P, <0C>O <0C>O <0C>P <0C>O <0C>P, <0C>O <0C>O <0C>P, <0C>O8<01>I<<3C>O& <0C>P8<02><14>P <0C>P <0C>P <0C>P <0C>P, <0C>P <0C>P <0C>P, <0C>P8<01>Q<<3C>P& <0C>P8<02><14>P <0C>P*<14>P <0C>P <0C>Q, <0C>P8,<2C>
 <0C>Z8 with_dollar<61>\<5C>Z <0C>Z <0C>Z, <0C>Z8dol<6F><1C>Z& <0C>Z8<02><14>Z, <0C>Z <0C>Z <0C>[, <0C>Z8<02>,<2C>Z& <0C>Z8<02>,<2C>Z& <0C>Z <0C>Z <0C>[, <0C>Z <0C>Z <0C>[, <0C>Z8config<69>4<>Z& <0C>Z8<02><14>Z <0C>[$ <0C>[ <0C>[, <0C>[ <0C>[ <0C>[$ <0C>[- <0C>[*<14>[ <0C>[ <0C>`8?\<5C>\ <0C>\8<01>h<00><>\ <0C>\ <0C>_, <0C>] <0C>] <0C>^ <0C>] <0C>], <0C>]8<02>,<2C>]*<14>] <0C>] <0C>^, <0C>]8,<2C>]'<14>]8<01>\<5C>] <0C>] <0C>] <0C>] <0C>]8<01>K4<>], <0C>] <0C>] <0C>], <0C>]8<01>k4<>] <0C>]% <0C>^ <0C>^ <0C>^ <0C>^, <0C>^8<01>j<1C>^8<02> <0C>^& <0C>^8<02>,<2C>^*<14>^ <0C>^ <0C>_, <0C>_8,<2C>_'<14>_8<01>\<5C>_ <0C>_ <0C>_ <0C>_ <0C>_8<01>;T<>_, <0C>_8<01>j<1C>_8<02> <0C>_% <0C>_, <0C>_ <0C>_ <0C>`8<14>_, <0C>_8,<2C>_'<14>_8<01>\<5C>_ <0C>_ <0C>_ <0C>` <0C>_8<01>K4<>_, <0C>_ <0C>_ <0C>`, <0C>_8<01>k4<>_ <0C>` <0C>` <0C>`8println<6C><<3C>` <0C>` <0C>` <0C>`7cargo:rustc-cfg={}<7D><00><>`$ <0C>`8<02>L<>` <0C>` <0C>` <0C>`, <0C>`8<02>,<2C>`% <0C>` <0C>`% <0C>` <0C>a <0C>a, <0C>a <0C>a <0C>a, <0C>a8<01>^4<>a& <0C>a8<02><14>a <0C>a*<14>a <0C>a <0C>a, <0C>a8,<2C>a'<14>a8<01>\<5C>a <0C>a <0C>a <0C>a <0C>a8<01>i\<5C>a <0C>a <0C>a, <0C>a, <0C>a <0C>a <0C>a, <0C>a8<01>^4<>a <0C>a!Dhttps://users.rust-lang.org/t/any-such-thing-as-cfg-aliases/40100/13<31> cfg_aliases!<21>
showing me<6D>Chttps://users.rust-lang.org/t/any-such-thing-as-cfg-aliases/40100/3<> pointing out<75>Chttps://users.rust-lang.org/t/any-such-thing-as-cfg-aliases/40100/2<> tectonic_cfg_support::target_cfg<66>tectonic_cfg_support<72>Ohttps://docs.rs/tectonic_cfg_support/0.0.1/src/tectonic_cfg_support/lib.rs.html<6D><01>bringing it up<75><01>s<01>t<01>t<01>t<01>t<01>u<01>u<01>u<01><01>v<01>v<01>t<01>s<01>t<01>t<01>t<01>u<01>u<01>u<01><01>v<01>v<02><02><02><02><02><02><02><02><><02><><02><02><><02><02><02><02><02><02><02><02><02><02><02><02>H<02>I<02>H<02>H<02>I<03><03>3f:Y<>U<EFBFBD>(dn<10><>Y<EFBFBD><59>c
ox<EFBFBD><01>t<EFBFBD> <0C>VaJ<61><4A>^n2<19>)<29><00>Y  <00><1D>$(<00><1D>9<EFBFBD>;"%<02> f:Y<>U<EFBFBD>(d<15><>Z<EFBFBD>`*<2A><02><<3C><<3C><<3C><<3C><<3C><<3C>ODHT <02><>f:Y<>U<EFBFBD>(d
ox<EFBFBD><01>tn<10><>Y<EFBFBD><59>c<00> <0C>VaJ<61><00><><EFBFBD><EFBFBD><EFBFBD>2:<3A><>1\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2:<3A><>1\<5C><><EFBFBD><EFBFBD><EFBFBD>_C:\Users\dxzq\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\cfg_aliases-0.1.1\src\lib.rs<72> <20><>r<EFBFBD>}<7D>zX\̞<><00>a<EFBFBD>0<00>  ".0,,D<?=
S )'YS #'D' ED> Y<00>  !O!k<00>fXZ<00><00>NPN)a!\cdNO $*,((@8;9] 'YS H' ED> YK& G5*
(\1
M9 GS  90  9OOO  5%# OIJL  2  OK5  2 OK   . P? B/ BE 5.)6+,:6%+7 I;/5 >="9
 ;D ':66<36><36>>b|<7C><01><>9b2
>x86_64-pc-windows-gnu<6E>i_|G<><47>ۘ<EFBFBD>ZFTt<54><10><01>-ecfecae26b019736<33>f:Y<>U<EFBFBD>(d<14><><00>w  N<01> rust-end-file