From 94612d9bdd83d043be6737977797491852787292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik@tjaders.com> Date: Wed, 1 Nov 2017 15:45:35 +0100 Subject: [PATCH] Do not clear the current LD_PRELOAD_PATH --- doc/Ecosystem.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Ecosystem.md b/doc/Ecosystem.md index fae650d..1ef7ebc 100644 --- a/doc/Ecosystem.md +++ b/doc/Ecosystem.md @@ -75,7 +75,7 @@ You will need to pin the specific toolchain version used, by setting the `"rust- For RLS to work, `vscode` need a path to the `rls-preview` library (using the environment variable `LD_LIBRARY_PATH` (Linux), `DYLD_LIBRARY_PATH` (OSX ?)). ``` -export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib +export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH ``` You may add this to your `~/.bash_profile`, and start vscode (`code` is the name of the executable) in a new terminal (to ensure that the `LD_LIBRARY_PATH` (Linux) `DYLD_LIBRARY_PATH` (OSX?) is correctly set). If `code` is run from your window manager (e.g., `plasma`), make sure that the environment is set correctly. -- GitLab