This commit is contained in:
Alwin Berger 2023-03-21 16:58:44 +01:00
parent 281979ecd8
commit 6d920fd962
2 changed files with 3 additions and 3 deletions

View File

@ -75,13 +75,13 @@ rule build_feedlongest_int:
rule build_feedgeneration: rule build_feedgeneration:
output: output:
directory("bins/target_feedlongest_int") directory("bins/target_feedgeneration")
shell: shell:
"cargo build --target-dir {output} {def_flags},feed_genetic" "cargo build --target-dir {output} {def_flags},feed_genetic"
rule build_feedgeneration_int: rule build_feedgeneration_int:
output: output:
directory("bins/target_feedlongest_int") directory("bins/target_feedgeneration_int")
shell: shell:
"cargo build --target-dir {output} {def_flags},feed_genetic" "cargo build --target-dir {output} {def_flags},feed_genetic"

View File

@ -178,7 +178,7 @@ where
let c = state.corpus().count(); let c = state.corpus().count();
let gm = state.metadata_mut().get_mut::<GeneticMetadata>().expect("Corpus Scheduler empty"); let gm = state.metadata_mut().get_mut::<GeneticMetadata>().expect("Corpus Scheduler empty");
// println!("index: {} curr: {:?} next: {:?} gen: {} corp: {}", gm.current_cursor, gm.current_gen.len(), gm.next_gen.len(), gm.gen, // println!("index: {} curr: {:?} next: {:?} gen: {} corp: {}", gm.current_cursor, gm.current_gen.len(), gm.next_gen.len(), gm.gen,
c); // c);
match gm.current_gen.get(gm.current_cursor) { match gm.current_gen.get(gm.current_cursor) {
Some(c) => { Some(c) => {
gm.current_cursor+=1; gm.current_cursor+=1;