spore_vm/
settings.rs

1/// Settings for the Spore virtual machine.
2#[derive(Copy, Clone, Debug)]
3pub struct Settings {
4    /// If aggressive inlining should be used. This should be disabled for any interactive
5    /// development where values may be redefined.
6    pub enable_aggressive_inline: bool,
7    /// If true, debug information will be preserved at the cost of higher RAM usage.
8    pub enable_source_maps: bool,
9}
10
11impl Default for Settings {
12    fn default() -> Settings {
13        Settings {
14            enable_aggressive_inline: false,
15            enable_source_maps: true,
16        }
17    }
18}