-
Notifications
You must be signed in to change notification settings - Fork 559
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
flatpak zed and vscode report slint::include_modules!();
rust-analyzer: failed to load file UNRESOLVED_ENV_VAR
#5793
Comments
UNRESOLVED_ENV_VAR
slint::include_modules!();
rust-analyzer: failed to load file UNRESOLVED_ENV_VAR
thanks for filing a bug report, but i'm going to need more info. What error are you seeing exactly. |
|
the include_modules uses an environment variable which is set through the slint-build crate that must be set in the build.rs. Do you call slint_build::compile in your build.rs. Maybe that is failing. There is perhaps logs from rust analyzer somewhere. |
@ogoffart
|
right, so this should export the env variable used by the include_modules macro. run-analyzer should have run the build script. It is possible that it fails though. Maybe rust-analyzer has a log with the result of the build script. |
@ogoffart |
Running the VS Code command palette command "Developer: Reload Window" fixed this for me. |
err form
slint::include_modules!();
only flatpak platform have this question. if install form
.deb``.rpm``.tar.gz
will normal.The text was updated successfully, but these errors were encountered: