Skip to main content

recording

Function recording 

Source
pub fn recording() -> bool
Expand description

Whether recording is on, reading the environment at most once.

Public so a test can assert the hook stays inert when the feature is compiled in but AUTHORED_DUMP is unset – the configuration every --all-features build runs in. Asserting on an absent output directory would pass even if this returned true, since the writer has no directory to write to either way.