Drop `cargo rustc` in favor of using $RUSTFLAGS
authorMatt Corallo <git@bluematt.me>
Sat, 15 Jan 2022 23:22:23 +0000 (23:22 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 16 Jan 2022 00:04:29 +0000 (00:04 +0000)
commit3c443e0e5842959687a0b4ca9e7e222347f0d901
tree05d6504e3a47828c861057084f5c8bd391887449
parentd8861cc16426cc3cf9809da57d55eb88871fca3d
Drop `cargo rustc` in favor of using $RUSTFLAGS

cargo rustc only passes the given arguments to the linking rustc,
not any building rustc calls, which is not generally what we want.

This further reduces `liblightningjs_release.wasm` from 2.4MB to
2.3 MB.
genbindings.sh