summarylogtreecommitdiffstats
path: root/rls.patch
blob: 94e41b7a574d59ce2998b297f358009580f8e69c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/ycmd/completers/rust/rust_completer.py b/ycmd/completers/rust/rust_completer.py
index a5e5caaa..3c886467 100644
--- a/ycmd/completers/rust/rust_completer.py
+++ b/ycmd/completers/rust/rust_completer.py
@@ -25,11 +25,9 @@ from ycmd.utils import LOGGER, re


 LOGFILE_FORMAT = 'rls_'
-RLS_BIN_DIR = os.path.abspath(
-  os.path.join( os.path.dirname( __file__ ), '..', '..', '..', 'third_party',
-                'rls', 'bin' ) )
-RUSTC_EXECUTABLE = utils.FindExecutable( os.path.join( RLS_BIN_DIR, 'rustc' ) )
-RLS_EXECUTABLE = utils.FindExecutable( os.path.join( RLS_BIN_DIR, 'rls' ) )
+RLS_BIN_DIR = '/usr/bin'
+RUSTC_EXECUTABLE =  os.path.join( RLS_BIN_DIR, 'rustc' )
+RLS_EXECUTABLE =  os.path.join( RLS_BIN_DIR, 'rls' )
 RLS_VERSION_REGEX = re.compile( r'^rls (?P<version>.*)$' )