Skip to main content

runtime_kind

Function runtime_kind 

Source
pub fn runtime_kind() -> RuntimeKind
Expand description

Return the currently declared kind of runtime the host program runs on.

Defaults to RuntimeKind::Sync until set_runtime_kind is called.