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.

Attributes
Read & Write
No documentation available
Read & Write
No documentation available
Read & Write
No documentation available
Class Methods
No documentation available
Instance Methods
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

returns the directory nesting of the extension, ignoring the first part, so “ext/foo/bar/Cargo.toml” becomes “foo/bar”

No documentation available
No documentation available

We want to use the same linker that Ruby uses, so that the linker flags from mkmf work properly.

No documentation available

Interpolate substitution vars in the arg (i.e. $(DEFFILE))

No documentation available

Corresponds to $(LIBPATH) in mkmf

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

We have to basically reimplement RbConfig::CONFIG['SOEXT'] here to support Ruby < 2.5

@see github.com/ruby/ruby/blob/c87c027f18c005460746a74c07cd80ee355b16e4/configure.ac#L3185

No documentation available
No documentation available
No documentation available