Skip to content

Commit 91bbce4

Browse files
committedAug 4, 2021
chore(ffi): update gen_header script to use unpretty option
1 parent 9d253d3 commit 91bbce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎capi/gen_header.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ cp "$CAPI_DIR/include/hyper.h" "$header_file_backup"
7171
cd "${WORK_DIR}" || exit 2
7272

7373
# Expand just the ffi module
74-
if ! output=$(RUSTFLAGS='--cfg hyper_unstable_ffi' cargo rustc -- -Z unstable-options --pretty=expanded 2>&1 > expanded.rs); then
74+
if ! output=$(RUSTFLAGS='--cfg hyper_unstable_ffi' cargo rustc -- -Z unpretty=expanded 2>&1 > expanded.rs); then
7575
# As of April 2021 the script above prints a lot of warnings/errors, and
7676
# exits with a nonzero return code, but hyper.h still gets generated.
7777
#

0 commit comments

Comments
 (0)