Skip to content

Commit a1b7d94

Browse files
committed
[Pipeline] Fix YDB Pipline test failures due to error in earlier commit
This doesn't make sense, but the bindgen command line utility now has different flags than the version supplied with Rust. I thought they would be the same, but they are not. Error is here: https://gitlab.com/shabiel/YDBTest/-/jobs/2151734417 Therefore, undo the changes to the commandline bindgen.
1 parent 404bdb1 commit a1b7d94

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ fn generate_bindings_via_cli(include_path: String, out_path: &Path) {
6868
#[rustfmt::skip] // rustfmt doesn't know the arguments are related
6969
let args = [
7070
"wrapper.h",
71-
"--allowlist-type", "ydb_.*",
72-
"--allowlist-function", "ydb_.*",
73-
"--allowlist-var", "YDB_.*",
74-
"--allowlist-type", "gparam_list.*",
75-
"--allowlist-var", "MAX_GPARAM_LIST_ARGS",
76-
"--blocklist-item", "YDB_NOTTP",
71+
"--whitelist-type", "ydb_.*",
72+
"--whitelist-function", "ydb_.*",
73+
"--whitelist-var", "YDB_.*",
74+
"--whitelist-type", "gparam_list.*",
75+
"--whitelist-var", "MAX_GPARAM_LIST_ARGS",
76+
"--blacklist-item", "YDB_NOTTP",
7777
// This was a String originally, so it's safe to unwrap.
7878
// It only went through `Path` so that the file separator would be right.
7979
"--output", out_path.to_str().unwrap(),

0 commit comments

Comments
 (0)