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.
2 parents 07e92a8 + 1fe7b67 commit 0373146Copy full SHA for 0373146
stage1/defs.bzl
@@ -81,7 +81,7 @@ def _sysroot_impl(ctx: AnalysisContext) -> list[Provider]:
81
sysroot = {}
82
for dep in rust_deps:
83
strategy = dep.info.strategies[LinkStrategy("static_pic")]
84
- dep_metadata_kind = MetadataKind("full")
+ dep_metadata_kind = MetadataKind("link")
85
artifact = strategy.outputs[dep_metadata_kind]
86
path = "lib/rustlib/{}/lib/{}".format(rustc_target_triple, artifact.basename)
87
sysroot[path] = artifact
0 commit comments