1 --- gnome-tour-40.0/build-aux/cargo.sh.orig 2021-03-23 16:31:44.642007800 +0100
2 +++ gnome-tour-40.0/build-aux/cargo.sh 2021-04-24 19:18:20.848567492 +0200
5 export MESON_BUILD_ROOT="$1"
6 export MESON_SOURCE_ROOT="$2"
7 +export CARGO_TARGET_OPT="--target x86_64-unknown-linux-gnux32"
8 export CARGO_TARGET_DIR="$MESON_BUILD_ROOT"/target
9 export CARGO_HOME="$CARGO_TARGET_DIR"/cargo-home
13 +if [ "$4" = "Devel" ]
16 - cargo build --manifest-path \
17 + cargo build $CARGO_TARGET_OPT --manifest-path \
18 "$MESON_SOURCE_ROOT"/Cargo.toml $FEATURES && \
19 - cp "$CARGO_TARGET_DIR"/debug/$5 $3
20 + cp "$CARGO_TARGET_DIR"/debug/x86_64-unknown-linux-gnux32/$5 $3
23 - cargo build --manifest-path \
24 + cargo build $CARGO_TARGET_OPT --manifest-path \
25 "$MESON_SOURCE_ROOT"/Cargo.toml $FEATURES --release && \
26 - cp "$CARGO_TARGET_DIR"/release/$5 $3
27 + cp "$CARGO_TARGET_DIR"/release/x86_64-unknown-linux-gnux32/$5 $3