Replies: 1 comment 1 reply
-
Reproduce: WORKSPACE.bazel
Compile tokio
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to compile tokio with
--cfg tokio_unstable
with rust rules. This works fine by adding it in thecrate.annotations
rustflag options. It also seems to get picked up by when compiling because I see that the compiler invocations have (bazel build -s --config local @crate_index//:tokio
). But when compiling I get an erroruse of undeclared crate or module tracing
indicating that the tracing dependency was not added when compiling. In the bazel lock file I see this:How can I instruct bazel to add the tracing dependency when compiling?
I will try to come up with a small repro for this.
Beta Was this translation helpful? Give feedback.
All reactions