fix profiling (still not entirely good)

This commit is contained in:
nora 2022-04-15 22:06:54 +02:00
parent 9d140c45d7
commit 6575e09957
5 changed files with 58 additions and 26 deletions

View file

@ -20,7 +20,7 @@ fn main() {
let stdin = io::stdin();
let stdin = stdin.lock();
brainfuck::run(&file, stdout, stdin, UseProfile::No).unwrap_or_else(|_| {
brainfuck::run(&file, stdout, stdin, UseProfile::Yes).unwrap_or_else(|_| {
eprintln!("error: Failed to parse brainfuck code");
process::exit(1);
});