cycles-quartz/apps/transfers/contracts/build.sh

9 lines
179 B
Bash
Raw Normal View History

FEATURES=
if [ -n "$MOCK_SGX" ]; then
echo "MOCK_SGX is set. Adding mock-sgx feature."
FEATURES="--features=mock-sgx"
fi
RUSTFLAGS='-C link-arg=-s' cargo wasm $FEATURES