pub struct MRubyManager { /* private fields */ }
Expand description

Helper for building and linking libmruby.

Implementations

Construct a new instance of a blank set of configuration. This builder is finished with the run function.

Set workdir. The default is "OUT_DIR" environment variable.

Set mruby version. The default is "3.1.0".

Set custom build_config.rb. If not set, the builder uses mruby’s default config.

Whether the builder should build/link libmruby.a or not. The default is true.

If set to false, builder does not build nor link libmruby. So you have to do it by yourself.

If you embed mruby into your Rust project, this should be true.

Whether the builder should internally download mruby source code or not. The default is true.

If set to false you have to place $OUT_DIR/mruby by yourself.

Run the task.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more