Skip to main content

mark_backend_fallback

Function mark_backend_fallback 

Source
pub fn mark_backend_fallback(to: OptimizationBackend, reason: impl Into<String>)
Expand description

Record an explicit backend fallback. Outside a backend trace this is a no-op, so production compilation pays neither allocation nor formatting.