Skip to content

Commit 95fa38e

Browse files
committed
use double-quotes for interpolation, avoid backticks
1 parent abfb732 commit 95fa38e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Runner.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,12 +744,12 @@ function generate_compiler_wrappers!(platform::AbstractPlatform; bin_path::Abstr
744744
extra_cmds = """
745745
if [[ " \${ARGS[@]} " == *'--target'* ]]; then
746746
if ! [[ " \${ARGS[@]} " =~ --target(=| )\${CARGO_BUILD_TARGET} ]]; then
747-
echo "Attempting to invoke targeted 'rustc' wrapper with a different target! (Expected \${CARGO_BUILD_TARGET}, which is `CARGO_BUILD_TARGET`)" >&2
747+
echo "Attempting to invoke targeted 'rustc' wrapper with a different target! (Expected \${CARGO_BUILD_TARGET}, which is CARGO_BUILD_TARGET)" >&2
748748
echo "args: \${ARGS[@]}" >&2
749749
exit 1
750750
fi
751751
else
752-
PRE_FLAGS+=( '--target=\${CARGO_BUILD_TARGET}' )
752+
PRE_FLAGS+=( "--target=\${CARGO_BUILD_TARGET}" )
753753
fi
754754
"""
755755
wrapper(io, "/opt/$(host_target)/bin/rustc"; flags=rust_flags!(p), allow_ccache=false, extra_cmds=extra_cmds)

0 commit comments

Comments
 (0)