Skip to content

Commit

Permalink
fix: binding and lock files for rust
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Ryall committed Mar 9, 2024
1 parent 1f19abf commit 0727d62
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"bindings/node/binding.cc",
# If your language uses an external scanner, add it here.
"src/parser.c",
# "src/scanner.c",
],
"cflags_c": [
"-std=c99",
Expand Down
3 changes: 2 additions & 1 deletion bindings/rust/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ fn main() {
c_config
.flag_if_supported("-Wno-unused-parameter")
.flag_if_supported("-Wno-unused-but-set-variable")
.flag_if_supported("-Wno-trigraphs");
.flag_if_supported("-Wno-trigraphs")
.flag_if_supported("-O");
let parser_path = src_dir.join("parser.c");
c_config.file(&parser_path);

Expand Down

0 comments on commit 0727d62

Please sign in to comment.