Skip to main content

find_platform_asset

Function find_platform_asset 

Source
pub fn find_platform_asset(assets: &[Asset]) -> Option<&Asset>
Expand description

Find the appropriate binary asset for the current platform.

Looks for assets matching the current OS and architecture. On Windows, also looks for .exe suffixed binaries.