pub fn track_static_access(
var_id: usize,
var_name: &str,
is_write: bool,
location: &str,
)Expand description
Track static variable access (read or write).
Records a StaticAccess event. Use this when reading from or writing to a static variable.
§Arguments
var_id- Identifier of the static variablevar_name- Name of the static variableis_write-truefor writes,falsefor readslocation- Source location (e.g., “file.rs:42”)