Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toolchain: support location expansion for stdlib_linkflags #1049

Merged
merged 6 commits into from
Dec 2, 2021

Conversation

krasimirgg
Copy link
Collaborator

This adds location expansion of stdlib_linkflags with respect to the
rust_lib attribute. This allows us to, e.g., have a linker flag that
refers to a native dependency target label declared in rust_lib.

This adds location expansion of stdlib_linkflags with respect to the
rust_lib attribute. This allows us to, e.g., have a linker flag that
refers to a native dependency target label declared in rust_lib.
@google-cla google-cla bot added the cla: yes label Dec 1, 2021
@krasimirgg krasimirgg marked this pull request as ready for review December 1, 2021 11:15
rust/toolchain.bzl Outdated Show resolved Hide resolved
Copy link
Member

@hlopko hlopko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@hlopko hlopko merged commit 506c1f6 into bazelbuild:main Dec 2, 2021
@krasimirgg krasimirgg deleted the stdlib_linkflags_expand branch February 21, 2022 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants