diff --git a/install-filcrypto b/install-filcrypto index dac54b78..dc56a4d2 100755 --- a/install-filcrypto +++ b/install-filcrypto @@ -150,12 +150,13 @@ build_from_source() { cargo --version # Add feature specific rust flags as needed here. + additional_flags="-Zfeatures=itarget" if [ "${FFI_USE_BLST_PORTABLE}" == "1" ]; then - additional_flags="--no-default-features --features blst --features blst-portable" + additional_flags="--no-default-features --features blst --features blst-portable ${additional_flags}" elif [ "${FFI_USE_BLST}" == "1" ]; then - additional_flags="--no-default-features --features blst" + additional_flags="--no-default-features --features blst ${additional_flags}" else - additional_flags="--no-default-features --features pairing" + additional_flags="--no-default-features --features pairing ${additional_flags}" fi if [ -n "${__release_flags}" ]; then