class Wasmer::Triple
- Wasmer::Triple
- Reference
- Object
Defined in:
wasmer/target.crConstructors
-
.new(name : String)
Creates a new triple, otherwise it returns an error specifying why the provided triple isn't valid.
Class Method Summary
-
.from_host
Creates a new triple from the current host
Constructor Detail
def self.new(name : String)
#
Creates a new triple, otherwise it returns an error specifying why the provided triple isn't valid.
triple = Wasmer::Triple.new("aarch64-unknown-linux-gnu")