Module platform

Source
Expand description

Platform helper functions.

Enums§

Target
Platform target.

Functions§

bundle_type
Get the type of the bundle current binary is packaged in. If the bundle type is unknown, it returns Option::None.
current_exe
Retrieves the currently running binary’s path, taking into account security considerations.
resource_dir
Computes the resource directory of the current environment.
target_triple
Try to determine the current target triple.