File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,11 @@ use rustc_hash::FxHashSet as HashSet;
1212fn main ( ) {
1313 println ! ( "cargo:rerun-if-changed=build.rs" ) ;
1414 println ! ( "cargo:rerun-if-changed=src/load.rs" ) ;
15+ println ! ( "cargo:rerun-if-changed=src/rollhash.rs" ) ;
16+ println ! ( "cargo:rerun-if-changed=src/odht.rs" ) ;
1517
1618 let out_dir = env:: var ( "OUT_DIR" ) . unwrap ( ) ;
17- let mut file = File :: create ( & Path :: new ( & out_dir) . join ( "static .rs" ) ) . unwrap ( ) ;
19+ let mut file = File :: create ( & Path :: new ( & out_dir) . join ( "odht_gen .rs" ) ) . unwrap ( ) ;
1820 writeln ! ( file, "pub mod data {{" ) . unwrap ( ) ;
1921
2022 generate ( "r50k_base" ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ use crate::corebpe::Rank;
99use std:: sync:: Arc ;
1010
1111include ! ( "odht.rs" ) ;
12- include ! ( concat!( env!( "OUT_DIR" ) , "/static .rs" ) ) ;
12+ include ! ( concat!( env!( "OUT_DIR" ) , "/odht_gen .rs" ) ) ;
1313
1414/// A struct that represents an encoding scheme based on byte-pair encoding (BPE).
1515#[ derive( Debug ) ]
You can’t perform that action at this time.
0 commit comments