What are environment variables, and how to define them? #3300
Unanswered
JRBros2346
asked this question in
Q&A
Replies: 2 comments
-
This env variable is used to communicate between slint_build and the include_modules! macro. Your build.rs should be looking something like this: fn main() {
slint_build::compile("ui/main.slint").unwrap();
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
To anwser the more generic question about what are environment variables, the Wikipedia page has some good information: https://en.wikipedia.org/wiki/Environment_variable#Assignment:_DOS,_OS/2_and_Windows |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using rust in windows. I'm getting this error, when I build my app
environment variable
SLINT_INCLUDE_GENERATED
not defined at compile timeWhat does it mean, and how to define them at compile time?
Also what are all the environment variables? Are they like C++style macros?
I found
SLINT_STYLE
too, but don't know how to use it.Beta Was this translation helpful? Give feedback.
All reactions