Skip to content

Commit 6a5a6d6

Browse files
committed
Swap --pretty=expanded with -Zunpretty=expanded
Apparently the `--pretty` option was dropped in newer rustc, see rust-lang/rust#83491
1 parent fee27c4 commit 6a5a6d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genbindings.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ BIN="$(pwd)/c-bindings-gen/target/release/c-bindings-gen"
128128

129129
function add_crate() {
130130
pushd "$LIGHTNING_PATH/$1"
131-
RUSTC_BOOTSTRAP=1 cargo rustc --profile=check $3 -- -Zunstable-options --pretty=expanded > /tmp/$1-crate-source.txt
131+
RUSTC_BOOTSTRAP=1 cargo rustc --profile=check $3 -- -Zunpretty=expanded > /tmp/$1-crate-source.txt
132132
popd
133133
if [ "$HOST_PLATFORM" = "host: x86_64-apple-darwin" ]; then
134134
sed -i".original" "1i\\

0 commit comments

Comments
 (0)