Run debugger with no optimization.
This commit is contained in:
parent
3b9dbd5fce
commit
1b4184ef16
@ -6,6 +6,8 @@ Version 1.5.0
|
||||
|
||||
This version adds a debugging interface, which can be used to integrate a debugger.
|
||||
|
||||
The `REPL` tool uses [`rustyline`](https://crates.io/crates/rustyline) for line editing and history.
|
||||
|
||||
Bug fixes
|
||||
---------
|
||||
|
||||
|
@ -179,6 +179,9 @@ fn main() {
|
||||
// Initialize scripting engine
|
||||
let mut engine = Engine::new();
|
||||
|
||||
#[cfg(not(feature = "no_optimize"))]
|
||||
engine.set_optimization_level(rhai::OptimizationLevel::None);
|
||||
|
||||
let mut script = String::new();
|
||||
let main_ast;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user