Skip to main content

Crate vanta_platform

Crate vanta_platform 

Source
Expand description

vanta-platform — OS/arch detection and path/executable/shell helpers (docs/17-cross-platform.md). A thin, dependency-light utility layer the rest of the workspace builds on.

Structs§

Platform
A fully-qualified target platform.

Functions§

detect
The platform the running binary targets.
exe_suffix
The executable file suffix (.exe on Windows, empty elsewhere).
home_dir
The user’s home directory (HOME, or USERPROFILE on Windows).
path_list_sep
The PATH list separator (; on Windows, : elsewhere).
vanta_home
$VANTA_HOME, else <home>/.vanta.
with_exe
Append the platform’s executable suffix to name if not already present.