pub struct WcetHintResolution {
pub hints: WcetHints,
pub resolved: Vec<(String, String)>,
pub diagnostics: Vec<WcetHintKeyDiagnostic>,
}Expand description
(#1063) The outcome of resolving a --wcet-hints file against the module’s
key assignments: the re-keyed hints map (keyed by COMPILE name, the key the
backend’s per-function verifier looks up), which original keys resolved to
which function, and a named diagnostic for every entry that was NOT consumed.
Fields§
§hints: WcetHintsThe hints, re-keyed by compile name, ready for the backend.
resolved: Vec<(String, String)>(original key, compile_name) for every entry that resolved.
diagnostics: Vec<WcetHintKeyDiagnostic>One STRUCTURED record per entry that was NOT consumed — the driver
prints each (Display = the human detail) AND carries them into the
sidecar’s WcetHintsOutcome. An ignored-because-unmatched hint and a
rejected hint look identical to a $? check; the named reason is the
difference (#1063 increment 2: the reason must reach the MACHINE, not
only stderr).
Trait Implementations§
Source§impl Clone for WcetHintResolution
impl Clone for WcetHintResolution
Source§fn clone(&self) -> WcetHintResolution
fn clone(&self) -> WcetHintResolution
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WcetHintResolution
impl Debug for WcetHintResolution
impl Eq for WcetHintResolution
Source§impl PartialEq for WcetHintResolution
impl PartialEq for WcetHintResolution
impl StructuralPartialEq for WcetHintResolution
Auto Trait Implementations§
impl Freeze for WcetHintResolution
impl RefUnwindSafe for WcetHintResolution
impl Send for WcetHintResolution
impl Sync for WcetHintResolution
impl Unpin for WcetHintResolution
impl UnsafeUnpin for WcetHintResolution
impl UnwindSafe for WcetHintResolution
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.