We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec48fe6 commit df9f0feCopy full SHA for df9f0fe
ext/mysql2/extconf.rb
@@ -129,6 +129,7 @@ def asplode(lib)
129
enabled_sanitizers = %w(address cfi integer memory thread undefined).select do |s|
130
try_link('int main() {return 0;}', "-Werror -fsanitize=#{s}")
131
end
132
+ abort "-----\nCould not enable any sanitizers!\n-----" if enabled_sanitizers.empty?
133
when String
134
# Figure out which sanitizers are supported
135
enabled_sanitizers, disabled_sanitizers = sanitizers.split(',').partition do |s|
0 commit comments