common: unset rust-cross specific variables for native builds
This commit is contained in:
@@ -16,6 +16,8 @@ if [ "$CROSS_BUILD" ]; then
|
||||
# [build]
|
||||
# target = ${RUST_TARGET}
|
||||
export CARGO_BUILD_TARGET="$RUST_TARGET"
|
||||
else
|
||||
unset CARGO_BUILD_TARGET
|
||||
fi
|
||||
|
||||
# For cross-compiling rust -sys crates
|
||||
|
||||
Reference in New Issue
Block a user