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

Update rules_rust and rules_foreign_cc to latest #452

Merged
merged 3 commits into from
Nov 16, 2021

Conversation

djmarcin
Copy link
Contributor

These two repos have breaking changes in latest. This means that importing this repo in a WORKSPACE fails if newer versions of rules_rust and/or rules_foreign_cc are already imported.

Copy link

@abrisco abrisco left a comment

Choose a reason for hiding this comment

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

Nice! Thank you!

@UebelAndre UebelAndre linked an issue Nov 15, 2021 that may be closed by this pull request
@@ -38,8 +38,8 @@ configure_make(
}),
lib_source = ":all_srcs",
out_static_libs = [
Copy link
Contributor Author

@djmarcin djmarcin Nov 15, 2021

Choose a reason for hiding this comment

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

The ordering here is apparently significant. Without reordering, rust linking fails because ld is a single pass linker and the libraries need to be linked in order (ssl then crypto). I'm not sure if that's an issue in some recent version of rules_rust or what since it appears that it was working in this other order previously.

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.

Update dependency on rules_rust
3 participants