On this page
Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.3
Gem::Ext::CargoBuilder
This class is used by rubygems to build Rust extensions. It is a thin-wrapper over the ‘cargo rustc` command which takes care of building Rust code in a way that Ruby can use.
Class methods 1
Instance methods 28
#build
#build_env
#cargo
#cargo_command
#cargo_crate_name
#cargo_dylib_path
#cargo_rustc_args
#darwin_target?
#extension_nesting
#ldflag_to_link_modifier
#libruby_args
#linker_args
#makefile_config
#maybe_resolve_ldflag_variable
#mingw_target?
#mkmf_libpath
#msvc_target?
#mswin_link_args
#normalize_path
#platform_specific_rustc_args
#rb_config_env
#ruby_static?
#rustc_dynamic_linker_flags
#rustc_lib_flags
#so_ext
#split_flags
#win_target?
#write_deffile
Attributes
Read & Write
No documentation available
Read & Write
No documentation available
Read & Write
No documentation available