Expand description
Access common paths and manipulate the filesystem
Structs§
Traits§
- Cargo
Path Ext - Common path and file operations
Functions§
- cargo_
home - Path to the current test’s
$CARGO_HOME - get_
lib_ extension - See
get_lib_filenamefor more details - get_
lib_ filename - Get the filename for a library.
- get_
lib_ prefix - See
get_lib_filenamefor more details - global_
root - Path to the parent directory of all test
roots - home
- Path to the current test’s
$HOME - init_
root - For test harnesses like
crate::cargo_test - root
- Path to the test’s filesystem scratchpad
- sysroot
- Path to
rustcs sysroot