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

Migrate cxx for bazelbuild/rules_rust#591 #954

Merged
merged 2 commits into from
Oct 27, 2021

Conversation

hlopko
Copy link
Contributor

@hlopko hlopko commented Oct 26, 2021

No description provided.

@hlopko hlopko marked this pull request as ready for review October 26, 2021 06:20
@@ -39,10 +39,9 @@ cc_library(
hdrs = ["include/cxx.h"],
)

rust_library(
rust_proc_macro(
Copy link
Owner

Choose a reason for hiding this comment

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

This line does not work on my machine:

$ bazel build ...
ERROR: /git/cxx/BUILD:42:1: name 'rust_proc_macro' is not defined
ERROR: package contains errors: 
ERROR: error loading package '': Package '' contains errors

Copy link
Owner

Choose a reason for hiding this comment

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

I pushed a commit to fill in the missing import.

error loading package '': Package '' contains errors is an unfortunate error — I'm not sure whether that is under rules_rust's control, or bazel's, or maybe even this repo's. Are we responsible for setting a "package name" for ourselves?

Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

Thanks!

@dtolnay dtolnay merged commit 6d6a93d into dtolnay:master Oct 27, 2021
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.

2 participants