Commit: runtime(compiler): Remove version check in rustc compiler

1 view
Skip to first unread message

Christian Brabandt

unread,
Nov 15, 2025, 12:30:26 PM (7 days ago) Nov 15
to vim...@googlegroups.com
runtime(compiler): Remove version check in rustc compiler

Commit: https://github.com/vim/vim/commit/fb8ebf1ee016cf8e942757f9efb9f706a0dbc08e
Author: Konfekt <Kon...@users.noreply.github.com>
Date: Sat Nov 15 17:18:41 2025 +0000

runtime(compiler): Remove version check in rustc compiler

closes: https://github.com/vim/vim/issues/18347

Signed-off-by: Konfekt <Kon...@users.noreply.github.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/compiler/rustc.vim b/runtime/compiler/rustc.vim
index b3c809198..ca261d857 100644
--- a/runtime/compiler/rustc.vim
+++ b/runtime/compiler/rustc.vim
@@ -2,6 +2,7 @@
" Compiler: Rust Compiler
" Maintainer: Chris Morgan <m...@chrismorgan.info>
" Latest Revision: 2023-09-11
+" 2025 Nov 15 by Vim project: remove test for Vim patch 7.4.191
" For bugs, patches and license go to https://github.com/rust-lang/rust.vim

if exists("current_compiler")
@@ -17,11 +18,7 @@ set cpo&vim
if get(g:, 'rustc_makeprg_no_percent', 0)
CompilerSet makeprg=rustc
else
- if has('patch-7.4.191')
- CompilerSet makeprg=rustc\ \%:S
- else
- CompilerSet makeprg=rustc\ \"%\"
- endif
+ CompilerSet makeprg=rustc\ \%:S
endif

" New errorformat (after nightly 2016/08/10)
Reply all
Reply to author
Forward
0 new messages