// UseNativeEngine sets the engine to Universal in the configuration.
//
//   config := NewConfig()
//   config.UseUniversalEngine()
//
// This method might fail if the Universal engine isn't
// available. Check `IsEngineAvailable` to learn more.
UseNativeEngine sets the engine to Universal in the configuration.

config := NewConfig()
config.UseUniversalEngine()

This method might fail if the Universal engine isn't
available. Check `IsEngineAvailable` to learn more.
// UseNativeEngine sets the engine to Universal in the configuration . // // config : = NewConfig () // config . UseUniversalEngine () // // This method might fail if the Universal engine isn ' t // available . Check ` IsEngineAvailable ` to learn more .
func (self *Config) UseUniversalEngine() *Config {
	if !IsEngineAvailable(UNIVERSAL) {
		panic("This `wasmer-go` version doesn't include the Universal engine; use `IsEngineAvailable(UNIVERSAL)` to avoid this panic")
	}
	C.wasm_config_set_engine(self.inner(), uint32(C.wasmer_engine_t(UNIVERSAL)))
	return self
}
func ( self * Config ) UseUniversalEngine ( ) * Config { if ! IsEngineAvailable ( UNIVERSAL ) { panic ( " " ) } C . wasm_config_set_engine ( self . inner ( ) , uint32 ( C . wasmer_engine_t ( UNIVERSAL ) ) ) return self }
UseNativeEngine sets the engine to Universal in the configuration.
UseNativeEngine sets the engine to Universal in the configuration .