Skip to content

Commit 171ec8d

Browse files
committed
no explicit --sysroot flag.
1 parent 5657319 commit 171ec8d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rust/private/rustc.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,6 @@ def construct_arguments(
665665

666666
# Ensure the sysroot is set for the target platform
667667
env["SYSROOT"] = toolchain.sysroot
668-
rustc_flags.add("--sysroot", "${pwd}/" + toolchain.sysroot)
669668

670669
# extra_rustc_flags apply to the target configuration, not the exec configuration.
671670
if hasattr(ctx.attr, "_extra_rustc_flags") and not is_exec_configuration(ctx):

0 commit comments

Comments
 (0)