-
Notifications
You must be signed in to change notification settings - Fork 70
Make 'npm run test:rust' work out-of-the-box #6721
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# DO NOT commit secrets, overrides go in the ignored `.env.development.local` | ||
|
||
NODE_ENV=development | ||
DEV=true | ||
|
||
|
@@ -7,7 +9,10 @@ VITE_KC_SITE_BASE_URL=https://dev.zoo.dev | |
VITE_KC_SITE_APP_URL=https://app.dev.zoo.dev | ||
VITE_KC_SKIP_AUTH=false | ||
VITE_KC_CONNECTION_TIMEOUT_MS=5000 | ||
# ONLY add your token in .env.development.local if you want to skip auth, otherwise this token takes precedence! | ||
#VITE_KC_DEV_TOKEN="your token from dev.zoo.dev should go in .env.development.local" | ||
#VITE_KC_DEV_TOKEN="optional token from dev.zoo.dev to skip auth in the app" | ||
|
||
RUST_BACKTRACE=1 | ||
PYO3_PYTHON=/usr/local/bin/python3 | ||
#KITTYCAD_API_TOKEN="required token from dev.zoo.dev for engine testing" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do the Rust tools read this file? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What I'm trying to say is, I don't think any of the Rust tools read this file or the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They don't explicitly need this file. This is merely a convenient way of enumerating all environment variables with defaults and a way to override them. |
||
|
||
FAIL_ON_CONSOLE_ERRORS=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually couldn't find docs on it, but it's essentially verbosity level. If you hit a Rust panic without it set, the CLI error message literally tells you to set it to
full
.rust-lang/cargo#1634 (comment)