Skip to main content

Module render

Module render 

Source
Expand description

Render a CapabilitySet back into #[capability(...)]’s surface syntax.

The exact inverse of capability-attr’s own attribute-argument parser. Used by taint-generate to write a #[capability(...)] matching a function’s real, detected usage rather than guessing one.

Functions§

render_capability_args
Render set into #[capability(...)]’s argument surface syntax, e.g. alloc(heap), io(display), ptr(none).