fn options(&self) -> Result<rune::Options, rune::ConfigurationError> {
        let mut options = rune::Options::default();

        // Command-specific override defaults.
        match &self.cmd {
            Command::Test(_) | Command::Check(_) => {
                options.test(true);
                options.bytecode(false);
            }
            Command::Run(_) => (),
        }

        for option in &self.shared().compiler_options {
            options.parse_option(option)?;
        }

        Ok(options)
    }
/// Construct compiler options from cli arguments.
Construct compiler options from cli arguments.
Construct compiler options from cli arguments .
fn options(&self) -> Result<rune::Options, rune::ConfigurationError> {
        let mut options = rune::Options::default();
        // Command-specific override defaults.
        match &self.cmd {
            Command::Test(_) | Command::Check(_) => {
                options.test(true);
                options.bytecode(false);
            }
            Command::Run(_) => (),
        }
        for option in &self.shared().compiler_options {
            options.parse_option(option)?;
        }
        Ok(options)
    }
fn options ( & self ) -> Result < rune :: Options , rune :: ConfigurationError > { let mut options = rune :: Options :: default ( ) ; // Command-specific override defaults. match & self . cmd { Command :: Test ( _ ) | Command :: Check ( _ ) => { options . test ( true ) ; options . bytecode ( false ) ; } Command :: Run ( _ ) => ( ) , } for option in & self . shared ( ) . compiler_options { options . parse_option ( option ) ? ; } Ok ( options ) }
Construct compiler options from cli arguments.
Construct compiler options from cli arguments .
&self
&self