Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Ext::CargoBuilder#mswin_link_args
mswin_link_args
lib/rubygems/ext/cargo_builder.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/ext/cargo_builder.rb, line 167
def mswin_link_args
args = []
args += ["-l", makefile_config("LIBRUBYARG_SHARED").chomp(".lib")]
args += split_flags("LIBS").flat_map {|lib| ["-l", lib.chomp(".lib")] }
args += split_flags("LOCAL_LIBS").flat_map {|lib| ["-l", lib.chomp(".lib")] }
args
end
No documentation available
See also
#msvc_target?
#normalize_path
#mkmf_libpath
#platform_specific_rustc_args
also in
4.1 · 4.0 · 3.4 · 3.2