We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CARGO_BUILD_TARGET
1 parent 55272a7 commit 66ac136Copy full SHA for 66ac136
src/Runner.jl
@@ -743,8 +743,8 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
743
function rustc(io::IO, p::AbstractPlatform)
744
extra_cmds = """
745
if [[ " \${ARGS[@]} " == *'--target'* ]]; then
746
- if ! [[ " \${ARGS[@]} " =~ --target(=| )$(map_rust_target(p)) ]]; then
747
- echo "Attempting to invoke targeted 'rustc' wrapper with a different target! (Expected $(map_rust_target(p)))" >&2
+ if ! [[ " \${ARGS[@]} " =~ --target(=| )\${CARGO_BUILD_TARGET} ]]; then
+ echo "Attempting to invoke targeted 'rustc' wrapper with a different target! (Expected \${CARGO_BUILD_TARGET}, which is `CARGO_BUILD_TARGET`)" >&2
748
echo "args: \${ARGS[@]}" >&2
749
exit 1
750
fi
0 commit comments