diff options
Diffstat (limited to 'rls.patch')
-rw-r--r-- | rls.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rls.patch b/rls.patch index a72804d02769..94e41b7a574d 100644 --- a/rls.patch +++ b/rls.patch @@ -1,10 +1,10 @@ diff --git a/ycmd/completers/rust/rust_completer.py b/ycmd/completers/rust/rust_completer.py -index dc14d6ee..cf5fd77c 100644 +index a5e5caaa..3c886467 100644 --- a/ycmd/completers/rust/rust_completer.py +++ b/ycmd/completers/rust/rust_completer.py -@@ -33,11 +33,9 @@ from ycmd.utils import LOGGER, re - - +@@ -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', @@ -13,7 +13,7 @@ index dc14d6ee..cf5fd77c 100644 -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_EXECUTABLE = os.path.join( RLS_BIN_DIR, 'rls' ) RLS_VERSION_REGEX = re.compile( r'^rls (?P<version>.*)$' ) |