projects
/
ldk-c-bindings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Swap --pretty=expanded with -Zunpretty=expanded
[ldk-c-bindings]
/
genbindings.sh
diff --git
a/genbindings.sh
b/genbindings.sh
index f74b2ac61e2f619ffd88dd1209d07e9b49f82ab3..f90aaf0525a8420d28afbe56f8197c121c4b8d57 100755
(executable)
--- a/
genbindings.sh
+++ b/
genbindings.sh
@@
-128,7
+128,7
@@
BIN="$(pwd)/c-bindings-gen/target/release/c-bindings-gen"
function add_crate() {
pushd "$LIGHTNING_PATH/$1"
function add_crate() {
pushd "$LIGHTNING_PATH/$1"
- RUSTC_BOOTSTRAP=1 cargo rustc --profile=check $3 -- -Zun
stable-options --
pretty=expanded > /tmp/$1-crate-source.txt
+ RUSTC_BOOTSTRAP=1 cargo rustc --profile=check $3 -- -Zunpretty=expanded > /tmp/$1-crate-source.txt
popd
if [ "$HOST_PLATFORM" = "host: x86_64-apple-darwin" ]; then
sed -i".original" "1i\\
popd
if [ "$HOST_PLATFORM" = "host: x86_64-apple-darwin" ]; then
sed -i".original" "1i\\