Skip to main content

resolved_target

Function resolved_target 

Source
pub fn resolved_target() -> Option<ExecTarget>
Expand description

Returns the host resolved by this process, if any.

None is meaningful: the failure happened before a host was chosen, so there is nothing to report. Emitting an empty string instead would be an assertion about the target rather than an admission of not having one.