You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print("WARN: rust_bindgen.leak_symbols is set to True for {} - please file an issue at https://github.com/bazelbuild/rules_rust/issues explaining why this was necessary, as this support will be removed soon.".format(ctx.label))
287
-
providers= [cc_common.merge_cc_infos(
288
-
direct_cc_infos= [cc_lib[CcInfo]],
289
-
)]
290
-
else:
291
-
providers= [
292
-
_generate_cc_link_build_info(ctx, cc_lib),
293
-
# As in https://github.com/bazelbuild/rules_rust/pull/2361, we want
294
-
# to link cc_lib to the direct parent (rlib) using `-lstatic=<cc_lib>` rustc flag
295
-
# Hence, we do not need to provide the whole CcInfo of cc_lib because
296
-
# it will cause the downstream binary to link the cc_lib again
297
-
# (same effect as setting `leak_symbols` attribute above)
298
-
# The CcInfo here only contains the custom link flags (i.e. linkopts attribute)
0 commit comments