On this page
Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class · Ruby 4.1
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 25
#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
#mswin_link_args
#normalize_path
#platform_specific_rustc_args
#rb_config_env
#ruby_static?
#rustc_dynamic_linker_flags
#rustc_lib_flags
#split_flags
#write_deffile
Attributes
Read & Write
No documentation available
Read & Write
No documentation available
Read & Write
No documentation available