xi-editor / xi-mac

The xi-editor mac frontend.
Apache License 2.0
3.02k stars 147 forks source link

explicitly set RUST_BACKTRACE=1 for xi-core process #371

Closed cmyr closed 5 years ago

cmyr commented 5 years ago

We probably always want our logs to include backtraces; it makes sense that we hard-code setting this environment variable before starting xi-core.

This should be straight forward. in RPCSending.swift, before launching the process, we'll want to set task.environment["RUST_BACKTRACE"] = "1".