You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build script uses env!("CARGO_PKG_VERSION"), relying on that variable being set by cargo when the build script is compiled. However, the docs state that inputs to the build script are passed at run time (of the build script):
When the build script is run, there are a number of inputs to the build script, all passed in the form of environment variables.
(emphasis mine)
In particular, that is for example what the bazel wrapper around rust rules expects, so that any crate depending on this one will fail to build with bazel.