Skip to main content

MAX_SIGNATURE_BYTES

Constant MAX_SIGNATURE_BYTES 

Source
pub const MAX_SIGNATURE_BYTES: usize = 1024;
Expand description

Upper bound on the bytes kept for one symbol’s signature.

A signature is the first source line of the definition. In minified or generated code that line can be the rest of the file, and every nested symbol repeats it, so one file could serialize to hundreds of megabytes of symbol data. Real signatures are far shorter than this bound.