-
Notifications
You must be signed in to change notification settings - Fork 30
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
Fail to build with master due to undefined cargo environment variables #143
Comments
LegNeato
changed the title
Fail to build with master due to undefined cargo environment cariables
Fail to build with master due to undefined cargo environment variables
Nov 13, 2024
Fake news. This is caused by another bug crashing the compiler and then me rerunning the command without the proper things set. For posterity, to run the deps of the build script in release (required to work around a bug) need: Lines 49 to 62 in 0da80f8
|
For the record, the bug in question, causing @LegNeato to try to run a failing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My code fails to compile because several environment variables set by Cargo (
CARGO_PKG_NAME
,CARGO_PKG_VERSION_MAJOR
,CARGO_PKG_VERSION_MINOR
,CARGO_PKG_VERSION_PATCH
, andCARGO_PKG_VERSION
) are unavailable.An example error:
I'm not doing anything fancy but I'm sure I am doing something wrong...this code in
rustc_codegen_spirv
hasn't changed in a long time. thegpu
crate builds fine on its own and theshared
crate builds file on its own but thecpu
crate fails. Even when I blank out all code except thebuild.rs
for thecpu
crate it still fails the same way.Here is my layout:
The build.rs:
I'm not sure how to debug this...
The text was updated successfully, but these errors were encountered: