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;
12
12
fn main ( ) {
13
13
println ! ( "cargo:rerun-if-changed=build.rs" ) ;
14
14
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" ) ;
15
17
16
18
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 ( ) ;
18
20
writeln ! ( file, "pub mod data {{" ) . unwrap ( ) ;
19
21
20
22
generate ( "r50k_base" ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ use crate::corebpe::Rank;
9
9
use std:: sync:: Arc ;
10
10
11
11
include ! ( "odht.rs" ) ;
12
- include ! ( concat!( env!( "OUT_DIR" ) , "/static .rs" ) ) ;
12
+ include ! ( concat!( env!( "OUT_DIR" ) , "/odht_gen .rs" ) ) ;
13
13
14
14
/// A struct that represents an encoding scheme based on byte-pair encoding (BPE).
15
15
#[ derive( Debug ) ]
You can’t perform that action at this time.
0 commit comments