mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-01-31 00:35:19 +01:00
feat(cli): retain all RUST_* env vars on mobile commands (#14111)
useful to propagate RUST_BACKTRACE to the IDE commands
This commit is contained in:
committed by
GitHub
parent
c37a298331
commit
61b9b681e8
6
.changes/retain-rust-vars.md
Normal file
6
.changes/retain-rust-vars.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@tauri-apps/cli": patch:enhance
|
||||
"tauri-cli": patch:enhance
|
||||
---
|
||||
|
||||
Retain `RUST_*` environment variables when running the mobile commands.
|
||||
@@ -347,6 +347,7 @@ fn env_vars() -> HashMap<String, OsString> {
|
||||
&& k != "TAURI_SIGNING_PRIVATE_KEY_PASSWORD")
|
||||
|| k.starts_with("WRY")
|
||||
|| k.starts_with("CARGO_")
|
||||
|| k.starts_with("RUST_")
|
||||
|| k == "TMPDIR"
|
||||
|| k == "PATH"
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user