Files
boc/aamos-ledger-rust/target/debug/deps/libhome-bcecee9bd0f3dabc.rlib
T

94 lines
52 KiB
Plaintext
Raw Normal View History

!<arch>
/ 0 0 0 0 2392 `
!SNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSN_ZN153_$LT$core..result..Result$LT$T$C$F$GT$$u20$as$u20$core..ops..try_trait..FromResidual$LT$core..result..Result$LT$core..convert..Infallible$C$E$GT$$GT$$GT$13from_residual17h70e33a50f9f9ff86E_ZN3std3env6var_os17hde509fbcaf85a2beE_ZN55_$LT$$RF$T$u20$as$u20$core..convert..AsRef$LT$U$GT$$GT$6as_ref17h4820504b972be176E_ZN3std4path4Path4join17h0427c4c42d4e9c06E_ZN55_$LT$$RF$T$u20$as$u20$core..convert..AsRef$LT$U$GT$$GT$6as_ref17h05c5265cb3cecd6cE_ZN3std4path4Path4join17ha385553ea7a96d39E_ZN55_$LT$$RF$T$u20$as$u20$core..convert..AsRef$LT$U$GT$$GT$6as_ref17ha486ad9a5243950aE_ZN4core3ptr39drop_in_place$LT$std..path..PathBuf$GT$17h4c95190b143d2d0bE_ZN4core3ptr47drop_in_place$LT$std..ffi..os_str..OsString$GT$17h3577943840ca3f3dE_ZN4core3ptr46drop_in_place$LT$alloc..vec..Vec$LT$u8$GT$$GT$17h9b9971eb0f45382fE_ZN4core3ptr53drop_in_place$LT$alloc..raw_vec..RawVec$LT$u8$GT$$GT$17hb648ffa40ea2ecc4E_ZN4core3ptr49drop_in_place$LT$std..sys..os_str..bytes..Buf$GT$17h1f55859e2c78b635E_ZN4core6option15Option$LT$T$GT$10ok_or_else17hb5a5173f7942230eE_ZN4core6option15Option$LT$T$GT$10ok_or_else17hc47f17d41fcf23f2E_ZN4core6option15Option$LT$T$GT$3map17h4f71903b70995346E_ZN4core6option15Option$LT$T$GT$3map17hf4d4ca4ff775701dE_ZN4core6option15Option$LT$T$GT$6filter17h657083fd752cd50aE_ZN4core6option15Option$LT$T$GT$6filter17hf2ebe2f2b2335eb3E_ZN4home10cargo_home17h12bb706259a57c71E_ZN4home3env19cargo_home_with_env17h84f30a6265e76828E_ZN4home11rustup_home17h176a6b67c2964594E_ZN4home3env20rustup_home_with_env17h7194de8a7a547e6fE_ZN4home19cargo_home_with_cwd17h46577d8454cecdc9E_ZN4home3env23cargo_home_with_cwd_env17h1bea79367ddf80f0E_ZN4home20rustup_home_with_cwd17h125e41067e5ef3bdE_ZN4home3env24rustup_home_with_cwd_env17hb5ea7e4ab8807c88E_ZN4home3env17home_dir_with_env17h93ff5378e1984eb3E_ZN79_$LT$core..result..Result$LT$T$C$E$GT$$u20$as$u20$core..ops..try_trait..Try$GT$6branch17h866d7fe715555bfeE_ZN4home8home_dir17h953fb4364c950b60E_ZN51_$LT$home..env..OsEnv$u20$as$u20$home..env..Env$GT$11current_dir17h22f37594b648a45aE_ZN51_$LT$home..env..OsEnv$u20$as$u20$home..env..Env$GT$6var_os17h83c9780cda4fa266E_ZN51_$LT$home..env..OsEnv$u20$as$u20$home..env..Env$GT$8home_dir17h554f037296ec5486EDW.ref.rust_eh_personality// 58 `
home-bcecee9bd0f3dabc.home.24cee65cabcece19-cgu.0.rcgu.o/
lib.rmeta/ 0 0 0 644 18688 `
ELF·€G@@GNUÀrust
>E#rustc 1.96.0 (ac68faa20 2026-05-25)ÁÀ뉊]!ÜÛê(¹Þ—šên-5be7b69c3ff7b5b8ÁíàÄTËŸ ÜJîÄ)'ß\¥!-3d1337db07d0b3aeÁ¤²XctÔ'ÐÓ©z¨ɽÓ-a4945860e1c53b00Á¤°ð ¾ä-±($²ï=©Ã-7e98a21bfd32b0edÁòÖÀH•‘PIÓHã#£-055f30b747f859b6Árustc_std_workspace_coreÁ­Cçß^ò½èÝ$­Çÿ+Cé-c4878ee60b2242c9ÁŸÃï+Ñ]ŠqB<ÏïW#-8dd1dd90e70d0b6aÁ miniz_oxideÁ€š»J(P>àö÷g\K-1eb618da2918ab7fÁadler2ÁÆ;+Þ®5¥Ìýݰ¦ÛLˆ-f7919172d268e069Á hashbrownÁPäV9ÒÆèÜ"ÊÖVŽ\-0fc2184a5da6723aÁrustc_std_workspace_allocÁs&ØòØy¯s•bæ!‰ýŠ-97e4bf30be240674Á
std_detectÁhŠBîÙºÌI®ËÅš-9dbbf8346ba7ac8bÁrustc_demangleÁûë9´Ç×@Œ’ùXFº-f33013f239bf9f14Ácfg_ifÁÜLhž§Œaã¯>­-0a71c8f33a838301Á addr2lineÁ׎Þ!]8V$É@@-e618e6be60e87ba2ÁgimliÁ¸
°µ~Î1‹Ñt ðÁ€w-1f7768a68858f670ÁobjectÁ
áPÃ?­À¶¼QHJ¥-914cd6a4dbe590d1ÁmemchrÁ›º«8Ór­2Ù $¨ûib-cf21ca6f2bb15dcdÁë
‹ás«LÖ€îâƒ×ɯŒ-ee6f3747e38367f0Áâú⬹ home_dir_innerÁt‡âÀEnvÁ
home_dirÁ
 current_dirÁ
var_osÁOsEnvÁ
µÄÖOS_ENVÁhome_dir_with_envÁcargo_home_with_envÁcargo_home_with_cwd_envÁ   rustup_home_with_envÁrustup_home_with_cwd_envÁ   µÛ
cargo_homeÁcargo_home_with_cwdÁ rustup_homeÁrustup_home_with_cwdÁ














'
)
ã í®¸•DÃH6
  ü€ #ö ,’ $$%&'()ÀioÁè ¦ PathÁ$ü …0"PathBufÁ<
€/(üIF Canonical definitions of `home_dir`, `cargo_home`, and `rustup_home`.ÁJúüNDA The definition of `home_dir` provided by the standard library isÁü“EB incorrect because it considers the `HOME` environment variable onÁüÙC@ Windows. This causes surprising situations where a Rust programÁüB? will behave differently depending on whether it is run under aÁüàFC Unix emulation environment like Cygwin or MinGW. Neither Cargo norÁü§?< rustup use the standard libraries definition - they use theÁ¤ç definition here.Áüúü€B? This crate provides two additional functions, `cargo_home` andÁüÃ?< `rustup_home`, which are the canonical way to determine theÁüƒ;8 location that Cargo and rustup use to store their data.Áü¿KH The `env` module contains utilities for mocking the process environmentÁÄ‹ by Cargo and rustup.Á¤úü¨ See also this [discussion].ÁÈúüÌWT > This crate is maintained by the Cargo team, primarily for use by Cargo and RustupÁü¤-* > and not intended for external use. ThisÁüÒPM > crate may make major changes to its APIs or be deprecated without warning.Á£úü§UR [discussion]: https://github.com/rust-lang/rust/pull/46799#issuecomment-361156935Á$%&'()À§ˆ
¦¦ 
¡…0"´
€/#ëîñü>; Lower-level utilities for mocking the process environment.Á­
OsStringÁDTˆ
b¦
$q…0´
<w€/ DlOK;=üD*13#%lüü…OL Permits parameterizing the home functions via the _from variants - used forÁüÕ&# in-process unit testing by rustup.Á

Îìüü÷
ÚÚ

üö&üGD Return the path to the users home dir, or None if any error occurs:Á¬Ü see `home_inner`.ÁDù* Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙ€/€/´
/innerÁß-1ùjÝÜ»€
 
âüÏ-ü¡)& Return the current working directory.Á\Ò+ Ö¿Ù¿Ú¿«Û¿ˆÜ¿Ý¿Þ¿ˆ‚†f|Â
üßßErrorÁà ¬
ÑøÿËO Ÿ
 Þ
âüÁ0ü;8 Get an environment variable, as per `std::env::var_os`.Á4Ä,-  -Û¼ݼÞ¼©ß¼à¼ÛἈcSñŸ«‡zÙÊëY6a×é5W
 Ë
âkeyÁÒ„ÑüõC@ Implements Env for the OS context, both Unix style and Windows.Á¹úü½LI This is trait permits in-process testing by providing a control point toÁüŠGD allow in-process divergence on what is normally process wide state.ÁÒúüÖOL Implementations should be provided by whatever testing framework the callerÁü¦OL is using. Code that is not performing in-process threaded testing requiringÁüöKH isolated rustup/cargo directories does not need this trait or the _fromÁ functions.Áö í®¸•DÃH6U(ö ”ãö   
üü%Dÿ.  · ˆ 
$‰ üÎ ,/  ±  Ý 
ü§
/
01  1×" ±


ì"¸
¼€  ö ü÷ :ü¥ QN Returns the path of the current user's home directory from [`Env::home_dir`].ÁŒþ 2 2
2· 
 üÐ@üÊ JG Variant of `cargo_home` where the environment source is parameterized.Á
ú\™
 This is矴
GD specifically to support in-process testing scenarios as environmentÁüí
OL variables and user home metadata are normally process global state. See theÁ”½ [`Env`] trait.Áœ×3 3
3±  ð
ëüîPüßDA Variant of `cargo_home_with_cwd` where the environment source isÁ”¤ parameterized.Á·úü»@= This is specifically to support in-process testing scenariosÁüüOL as environment variables and user home metadata are normally process globalÁüÌ! state. See the `OsEnv` trait.Á¼õ45 4
4 5…0…0
†0ß-bªŸðcÂ^±  
cwdÁœë<closure_kind>Á<closure_signature>Á<upvars>Á œ#ë2ƒ3 3À4üüØ4µë2ƒ3 3À4Ø4‚!Ø4ü˜Aü‰Dÿ.”ÎÌ/áúüå@ô/ü¦O¾0üö!—1¤Ÿ6 6
6±  ¹
´ü¸Qü©Dÿ.”îÌ/úü…@ô/üÆO¾0ü–!—1Ä¿78 7
7 8ø2±  Ý
ØÅ2ç·ë2ƒ3 3À4Ã4Ø4Óë2ƒ3 3À4¦5Ø4ë2ƒ3 3À46Ø4<ã Œ££½½ü—$ü
KH Returns the path of the current user's home directory using environmentÁüÙ
" variables or OS-specific APIs.Áü
úT€  # UnixÁ úü EB Returns the value of the `HOME` environment variable if it is setÁüÕ KH **even** if it is an empty string. Otherwise, it tries to determine theÁü¡ IF home directory by invoking the [`getpwuid_r`][getpwuid] function withÁüë  the UID of the current user.ÁŒ
úü
63 [getpwuid]: https://linux.die.net/man/3/getpwuid_rÁÇ