Preview Ruby 4.1 is a preview. It can change before the final release. 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-4.1.0-preview1/lib/rubygems/ext/cargo_builder.rb, line 173
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
#mkmf_libpath
#normalize_path
#mingw_target?
#platform_specific_rustc_args
also in
4.0 · 3.4 · 3.3 · 3.2