mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
parent
bbaee29add
commit
54807231c0
@ -13,7 +13,7 @@ local is_os = helpers.is_os
|
|||||||
local is_ci = helpers.is_ci
|
local is_ci = helpers.is_ci
|
||||||
|
|
||||||
local function isasan()
|
local function isasan()
|
||||||
local version = eval('execute("version")')
|
local version = eval('execute("verbose version")')
|
||||||
return version:match('-fsanitize=[a-z,]*address')
|
return version:match('-fsanitize=[a-z,]*address')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -168,7 +168,7 @@ endfunc
|
|||||||
" Command to check for not running under ASAN
|
" Command to check for not running under ASAN
|
||||||
command CheckNotAsan call CheckNotAsan()
|
command CheckNotAsan call CheckNotAsan()
|
||||||
func CheckNotAsan()
|
func CheckNotAsan()
|
||||||
if execute('version') =~# '-fsanitize=[a-z,]*\<address\>'
|
if execute('verbose version') =~# '-fsanitize=[a-z,]*\<address\>'
|
||||||
throw 'Skipped: does not work with ASAN'
|
throw 'Skipped: does not work with ASAN'
|
||||||
endif
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
Loading…
Reference in New Issue
Block a user