File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
* .obj
6
6
* .lib
7
7
* .wasm
8
- package-lock.json
8
+ package-lock.json
9
+ Cargo.lock
10
+ target
Original file line number Diff line number Diff line change @@ -25,16 +25,14 @@ fn main() {
25
25
// If your language uses an external scanner written in C++,
26
26
// then include this block of code:
27
27
28
- /*
29
28
let mut cpp_config = cc:: Build :: new ( ) ;
30
29
cpp_config. cpp ( true ) ;
31
30
cpp_config. include ( & src_dir) ;
32
31
cpp_config
33
32
. flag_if_supported ( "-Wno-unused-parameter" )
34
33
. flag_if_supported ( "-Wno-unused-but-set-variable" ) ;
35
- let scanner_path = src_dir.join("scanner.cc ");
34
+ let scanner_path = src_dir. join ( "scanner.c " ) ;
36
35
cpp_config. file ( & scanner_path) ;
37
36
cpp_config. compile ( "scanner" ) ;
38
37
println ! ( "cargo:rerun-if-changed={}" , scanner_path. to_str( ) . unwrap( ) ) ;
39
- */
40
38
}
You can’t perform that action at this time.
0 commit comments