We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CARGO_MANIFEST_DIR
dx
Problem
Steps To Reproduce
Steps to reproduce the behavior:
if let Ok(s) = std::env::var("CARGO_MANIFEST_DIR") { tracing::info!("CARGO_MANIFEST_DIR: {}", s); } else { tracing::info!("No CARGO_MANIFEST_DIR"); }
Expected behavior
The env should not be empty.
Screenshots
Environment:
Questionnaire
I'm interested in fixing this myself but don't know where to start.
The text was updated successfully, but these errors were encountered:
From Environment variables Cargo sets for crates, it says
Note that if one of these values is not provided in the manifest, the corresponding environment variable is set to the empty string, "".
It means that dx serve does not run with cargo. How can we get the dir like CARGO_MANIFEST_DIR?
dx serve
cargo
Perhaps we need a DIOXUS_MANIFEST_DIR.
DIOXUS_MANIFEST_DIR
Sorry, something went wrong.
No branches or pull requests
Problem
Steps To Reproduce
Steps to reproduce the behavior:
CARGO_MANIFEST_DIR
dx
, it prints empty string.Expected behavior
The env should not be empty.
Screenshots
Environment:
Questionnaire
I'm interested in fixing this myself but don't know where to start.
The text was updated successfully, but these errors were encountered: