Skip to content

Commit

Permalink
run_rustc - Fix the rustc proxy script's handling of spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
thepowersgang committed Nov 30, 2024
1 parent f3d4353 commit 1f372d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_rustc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ ifeq ($(RUSTC_VERSION),1.19.0)
else
$V$(call fn_opt_copy,$(CARGO_OUTDIR_RUSTC)$(RUSTC_BINNAME),$(BINDIR)rustc_binary)
endif
$Vprintf '#!/bin/sh\nd=$$(dirname $$0)\nLD_LIBRARY_PATH="$(abspath $(OUTDIR)prefix/lib):$(abspath $(LIBDIR))" $$d/rustc_binary $$@' >$@
$Vprintf '#!/bin/sh\nd=$$(dirname $$0)\nLD_LIBRARY_PATH="$(abspath $(OUTDIR)prefix/lib):$(abspath $(LIBDIR))" $$d/rustc_binary "$$@"' >$@
$Vchmod +x $@

CARGO_OUTDIR_STAGE3_STD := $(OUTDIR)build-std/$(RUSTC_TARGET)/release/
Expand Down

0 comments on commit 1f372d4

Please sign in to comment.