From: Matt Corallo Date: Sat, 15 Jan 2022 23:22:23 +0000 (+0000) Subject: Drop `cargo rustc` in favor of using $RUSTFLAGS X-Git-Tag: v0.0.105.0~2^2~3 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=3c443e0e5842959687a0b4ca9e7e222347f0d901;hp=3c443e0e5842959687a0b4ca9e7e222347f0d901;p=ldk-c-bindings 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. ---