pub fn new() -> Config {
        let mut flags = settings::builder();

        // There are two possible traps for division, and this way
        // we get the proper one if code traps.
        flags
            .enable("avoid_div_traps")
            .expect("should be valid flag");

        Config {
            debug_info: false,
            features: Default::default(),
            flags,
            strategy: CompilationStrategy::Auto,
        }
    }
/// Creates a new configuration object with the default configuration
/// specified.
Creates a new configuration object with the default configuration
specified.
Creates a new configuration object with the default configuration specified .
pub fn new() -> Config {
        let mut flags = settings::builder();
        // There are two possible traps for division, and this way
        // we get the proper one if code traps.
        flags
            .enable("avoid_div_traps")
            .expect("should be valid flag");
        Config {
            debug_info: false,
            features: Default::default(),
            flags,
            strategy: CompilationStrategy::Auto,
        }
    }
pub fn new ( ) -> Config { let mut flags = settings :: builder ( ) ; // There are two possible traps for division, and this way // we get the proper one if code traps. flags . enable ( " " ) . expect ( " " ) ; Config { debug_info : false , features : Default :: default ( ) , flags , strategy : CompilationStrategy :: Auto , } }
Creates a new configuration object with the default configuration
specified.
Creates a new configuration object with the default configuration specified .