Skip to main content

READONLY_ENV

Constant READONLY_ENV 

Source
pub const READONLY_ENV: &str = "ASSAY_READONLY";
Expand description

Set to 1 or true to activate read-only mode for every VM the process creates. Mutating builtins stay registered but raise readonly: <name> blocked errors instead of executing. The --readonly CLI flag activates the same mode per invocation.