1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add a check-yjit-bindgen-unused target. Add to CI. (#6066)

This fails if there are any unused rust-bindgen "allow" entries. For
that target we turn on Rust warnings (there are a lot) and grep for the
ones that correspond to unused allow entries.

I've added check-yjit-bindgen-unused as a dependency of
check-yjit-bindings, so unused allow entries will now fail CI.

This change also removes our single unused allow entry (VM_CALL.*) which
was known to be bad.
This commit is contained in:
Noah Gibbs 2022-06-29 17:49:46 +01:00 committed by GitHub
parent b340d566e5
commit 118e3edc32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2022-06-30 01:50:08 +09:00
Merged-By: maximecb <maximecb@ruby-lang.org>
4 changed files with 11 additions and 4 deletions

View file

@ -342,4 +342,5 @@ name = "yjit-bindgen"
version = "0.1.0"
dependencies = [
"bindgen",
"env_logger",
]