Skip to main content

detect

Function detect 

Source
pub fn detect() -> Box<dyn Platform>
Expand description

Return the backend for the platform we are running on.

A stub backend is returned on unsupported systems: corescout info then fails with a clear message instead of the binary refusing to build.