Skip to content

Commit 9b5b309

Browse files
authored
Merge pull request #27 from dtolnay/sysrootcopy
Provide output sysroot containing copied rlibs not links
2 parents 0373146 + 2f4cfae commit 9b5b309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stage1/defs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def _sysroot_impl(ctx: AnalysisContext) -> list[Provider]:
9090
path = "lib/rustlib/{}/lib/{}".format(rustc_target_triple, artifact.basename)
9191
sysroot[path] = artifact
9292

93-
sysroot = ctx.actions.symlinked_dir("sysroot", sysroot)
93+
sysroot = ctx.actions.copied_dir("sysroot", sysroot)
9494
return [DefaultInfo(default_output = sysroot)]
9595

9696
sysroot = rule(

0 commit comments

Comments
 (0)