Skip to content

Commit

Permalink
Tweak script
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Dec 1, 2023
1 parent 3e61c3e commit 56c4599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ if [[ -z "${build_tool}" ]]; then
if [[ "${host}" != "${target}" ]]; then
case "${target}" in
# https://github.com/cross-rs/cross#supported-targets
*-windows-msvc* | *-windows-gnu* | *-darwin* | *-fuchsia* | *-redox*) ;;
*-windows* | *-darwin* | *-fuchsia* | *-redox*) ;;
*)
# If any of these are set, it is obvious that the user has set up a cross-compilation environment on the host.
if [[ -z "$(eval "echo \${CARGO_TARGET_${target_upper}_LINKER:-}")" ]] && [[ -z "$(eval "echo \${CARGO_TARGET_${target_upper}_RUNNER:-}")" ]]; then
Expand Down

0 comments on commit 56c4599

Please sign in to comment.