Skip to content
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

Incorrect CARGO_HOME and RUST_SRC_PATH in racer--shell-command #115

Closed
guskovd opened this issue Jan 15, 2019 · 2 comments
Closed

Incorrect CARGO_HOME and RUST_SRC_PATH in racer--shell-command #115

guskovd opened this issue Jan 15, 2019 · 2 comments

Comments

@guskovd
Copy link

guskovd commented Jan 15, 2019

process-environment values (rust-src-path and cargo-home) (https://github.com/racer-rust/emacs-racer/blob/master/racer.el#L202)
not available in temporary buffer:
(https://github.com/racer-rust/emacs-racer/blob/master/racer.el#L237)

Therefore, changing the environment variables RUST_SRC_PATH and CARGO_HOME or variables racer-rust-src-path, racer-cargo-home does not really change anything

@Wilfred
Copy link
Member

Wilfred commented Mar 20, 2019

Should be fixed in 9d8984e.

@Wilfred Wilfred closed this as completed Mar 20, 2019
@Wilfred
Copy link
Member

Wilfred commented Mar 20, 2019

That said, it looks like process-environment is not a buffer-local value, so I don't see why changing to a temporary buffer would have changed its value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants