Skip to main content

source_map_enabled

Function source_map_enabled 

Source
pub fn source_map_enabled() -> bool
Expand description

Whether source-locator (--source-map) tracking + emission is on. Read by the source-provenance machinery (mouth token-start capture, Document::absorb data-sourcepos stamping) to stay zero-cost when off. See docs/performance/SOURCE_PROVENANCE.md.