Files
boc/aamos-ledger-rust/target/release/deps/libhome-af6f13d144a78cb9.rlib
T

111 lines
30 KiB
Plaintext
Raw Normal View History

!<arch>
/ 0 0 0 0 816 `
LLLLLLLLLLLLL_ZN4home10cargo_home17hd3ffd6b4c33c191aE_ZN4home11rustup_home17h2fbc1301a8c1eae4E_ZN4home19cargo_home_with_cwd17hf7e5d31e31e1eb39E_ZN4home20rustup_home_with_cwd17h87d9d142cd2a9452E_ZN4home3env17home_dir_with_env17hd6204a3c1ade66abE_ZN4home3env19cargo_home_with_env17ha6cf669c61d3a2d4E_ZN4home3env20rustup_home_with_env17he9cbd8be1f5cb2abE_ZN4home3env23cargo_home_with_cwd_env17hc2280ed9d288e0ffE_ZN4home3env24rustup_home_with_cwd_env17h39848b312fe61c7fE_ZN4home8home_dir17he08216fa65bb9755E_ZN51_$LT$home..env..OsEnv$u20$as$u20$home..env..Env$GT$11current_dir17h0a415b1e86550994E_ZN51_$LT$home..env..OsEnv$u20$as$u20$home..env..Env$GT$6var_os17h5b9a12bae967d634E_ZN51_$LT$home..env..OsEnv$u20$as$u20$home..env..Env$GT$8home_dir17h68e7f38d6ff0c890E// 58 `
home-af6f13d144a78cb9.home.edfd9abfe48c4c2f-cgu.0.rcgu.o/
lib.rmeta/ 0 0 0 644 18400 `
ELF·`F@@GNUÀrust
D#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Á














'
)
ã —†3´`4Oÿ
  ü€ #ö ,’ $ $%&'()À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.Áö —†3´`4OÿU(ö ”ãö   
üü%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€3¹  Ý
ØÍ2ç·ó2‹3¨3È4Ë4à4Óó2‹3¨3È4®5à4ó2‹3¨3È4‰6à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ÁÇ
ú
# WindowsÁÙ
úüÝ
LI Returns the value of the `USERPROFILE` environment variable if it is setÁüªKH **and** it is not an empty string. Otherwise, it tries to determine theÁüöQN home directory by invoking the [`SHGetKnownFolderPath`][shgkfp] function withÁüÈ(% [`FOLDERID_Profile`][knownfolderid].Áñúüõqn [shgkfp]: https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpathÁüçXU [knownfolderid]: https://learn.microsoft.com/en-us/windows/win32/shell/knownfolderidÁÀú # ExamplesÁÓú<× ```Áäß match home::home_dir() {ÁüüUR Some(path) if !path.as_os_str().is_empty() => println!("{}", path.display()),ÁüÒ63 _ => println!("Unable to get your home dir!"),Á,‰<£CDž¿
$ü¥&úd˜¿
%üû*üƒ?< Returns the storage directory used by Cargo, often known asÁìà `.cargo` or `CARGO_HOME`.Ááúüå<9 It returns one of the following values, in this order ofÁ preference:Á²úü¶B? - The value of the `CARGO_HOME` environment variable, if it isÁ¼ù an absolute path.Áü‘FC - The value of the current working directory joined with the valueÁüØDA of the `CARGO_HOME` environment variable, if `CARGO_HOME` is aÁÌ relative directory.Áü·FC - The `.cargo` directory in the user's home directory, as reportedÁüþ! by the `home_dir` function.Á ú # ErrorsÁ±úüµFC This function fails if it fails to retrieve the current directory,Áüü2/ or if the home directory cannot be determined.Á¯ú€CÂú£CôÎ match home::cargo_home() {Áüí30 Ok(path) => println!("{}", path.display()),Áü¡KH Err(err) => eprintln!("Cannot get your cargo home dir: {:?}", err),Á÷D£CT¹ 
&üÒ=üÖ=: Returns the storage directory used by Cargo within `cwd`.Áü”=: For more details, see [`cargo_home`](fn.cargo_home.html).ÁœÙ9 9€3¹  ò
'Í2íüÊ%+üÉ@= Returns the storage directory used by rustup, often known asÁüŠ `.rustup` or `RUSTUP_HOME`.Áªúü®<þFÃGûúüÿC@ - The value of the `RUSTUP_HOME` environment variable, if it isÁ¼Ã ³HüÛ FÔHü¢!FC of the `RUSTUP_HOME` environment variable, if `RUSTUP_HOME` is aÁÌé!ñIüƒ"GD - The `.rustup` directory in the user's home directory, as reportedÁüË"!äJí"údñ"šKþ"úü‚#F¼KüÉ#2ŒLü#út€$€C$ú<“$£Cü›$ match home::rustup_home() {Áü»$3ŸMüï$LI Err(err) => eprintln!("Cannot get your rustup home dir: {:?}", err),Á,¼%÷D<Â%£C\Ñ%¹ 
(ü¦'>ü§&>; Returns the storage directory used by rustup within `cwd`.Áüæ&?< For more details, see [`rustup_home`](fn.rustup_home.html).Á¤­': :€3¹  Ç'
)Í2Â'AG\ ×]« ½
$Õ)í.3 ¡9;>ŽC ìIBNeR$fn.cargo_home.htmlÁfn.rustup_home.htmlÁÙ
discussionÁ,https://github.com/rust-lang/rust/pull/46799ÁSHGetKnownFolderPathÁ
getpwuid_rÁ&https://linux.die.net/man/3/getpwuid_rÁ chttps://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpathÁFOLDERID_ProfileÁChttps://learn.microsoft.com/en-us/windows/win32/shell/knownfolderidÁýX”YÙ
±Y™ZŠZÀYñYÉZ±[  (Æ[ýX”YÙ