Run examples with full optimizations.
This commit is contained in:
parent
6d33a91d09
commit
5235ba71dd
@ -1,6 +1,7 @@
|
|||||||
|
use rhai::{Engine, EvalAltResult, Scope, AST};
|
||||||
|
|
||||||
#[cfg(not(feature = "no_optimize"))]
|
#[cfg(not(feature = "no_optimize"))]
|
||||||
use rhai::OptimizationLevel;
|
use rhai::OptimizationLevel;
|
||||||
use rhai::{Engine, EvalAltResult, Scope, AST};
|
|
||||||
|
|
||||||
use std::{
|
use std::{
|
||||||
io::{stdin, stdout, Write},
|
io::{stdin, stdout, Write},
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
|
use rhai::{Engine, EvalAltResult};
|
||||||
|
|
||||||
#[cfg(not(feature = "no_optimize"))]
|
#[cfg(not(feature = "no_optimize"))]
|
||||||
use rhai::OptimizationLevel;
|
use rhai::OptimizationLevel;
|
||||||
use rhai::{Engine, EvalAltResult};
|
|
||||||
use std::{env, fs::File, io::Read, iter, process::exit};
|
use std::{env, fs::File, io::Read, iter, process::exit};
|
||||||
|
|
||||||
fn padding(pad: &str, len: usize) -> String {
|
fn padding(pad: &str, len: usize) -> String {
|
||||||
|
Loading…
Reference in New Issue
Block a user