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

create symlinks to ambiguous native dependencies #1148

Merged
merged 13 commits into from
Feb 22, 2022

Conversation

krasimirgg
Copy link
Collaborator

@krasimirgg krasimirgg commented Feb 21, 2022

Depends on #1147.

This addresses #840 by creating symlinks to ambiguous native dependencies of a rust_binary that would otherwise cause the link to fail, as in the example/s added.

This reverts rules_rust to use `-Lnative/-lstatic` instead of library paths
per
bazelbuild#840 (comment).
Depends on bazelbuild#1147.

This addresses bazelbuild#840 by
creating symlinks to ambiguous native dependencies of a rust_binary that
would otherwise cause the link to fail, as in the examples added.
@krasimirgg krasimirgg changed the title Disambiguate libs Create symlinks to ambiguous native dependencies Feb 21, 2022
@krasimirgg krasimirgg changed the title Create symlinks to ambiguous native dependencies create symlinks to ambiguous native dependencies Feb 21, 2022
@krasimirgg krasimirgg marked this pull request as ready for review February 21, 2022 14:38
rust/private/rustc.bzl Outdated Show resolved Hide resolved
rust/private/rustc.bzl Show resolved Hide resolved
rust/private/rustc.bzl Outdated Show resolved Hide resolved
rust/private/rustc.bzl Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants