Skip to main content

Module runtime

Module runtime 

Source
Expand description

Runtime module for diagnostics - contains OS-boundary code.

This module satisfies the dylint boundary-module check for code that uses std::env for system information.

Re-exports§

pub use crate::executor::ProcessExecutor;

Functions§

get_arch
Get the architecture.
get_os
Get the OS.
get_os_info
Get the OS and architecture as a formatted string.
get_shell
Get the SHELL environment variable.
get_working_directory
Get the current working directory.
is_git_repo
Check if the current directory is a git repository.