Rust: make the cli flags override automatic

This makes the clap flags overlay over `Config` entirely derived via an
attribute macro. Also, the `--intputs-file` option is replaced by a more
standard and versatile `@` parameter file mechanism.
This commit is contained in:
Paolo Tranquilli
2024-09-11 17:09:18 +02:00
parent fea6017688
commit 1b3a5cdab1
7 changed files with 111 additions and 39 deletions

View File

@@ -2,4 +2,4 @@
set -eu
exec "$CODEQL_EXTRACTOR_RUST_ROOT/tools/$CODEQL_PLATFORM/extractor" --inputs-file="$1"
exec "$CODEQL_EXTRACTOR_RUST_ROOT/tools/$CODEQL_PLATFORM/extractor" @"$1"