Skip to content

Commit

Permalink
Fix update_consts.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gyscos committed Jan 28, 2022
1 parent f5a7f38 commit dddf5f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zstd-safe/update_consts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ fetch_constants() {
done | sort
}

constants=$(fetch_constants zstd-sys/src/bindings.rs)
constants=$(fetch_constants zstd-sys/src/bindings_zstd.rs)
header > src/constants.rs
echo "$constants" >> src/constants.rs

(
header
comm -23 <(fetch_constants zstd-sys/src/bindings_experimental.rs) <(echo "$constants")
comm -23 <(fetch_constants zstd-sys/src/bindings_zstd_experimental.rs) <(echo "$constants")
) > src/constants_experimental.rs

0 comments on commit dddf5f7

Please sign in to comment.