Sha256: c3467056d91be3f59562158ee9604c729b5b5f473efbefb036032803eb76809e

Contents?: true

Size: 957 Bytes

Versions: 37

Compression:

Stored size: 957 Bytes

Contents

This is a library for managing targets for compilers and related tools.

Currently, the main feature is support for decoding "triples", which
are strings that identify a particular target configuration. They're named
"triples" because historically they contained three fields, though over time
they've added additional fields. This library provides a `Triple` struct
containing enums for each of fields of a triple. `Triple` implements
`FromStr` and `fmt::Display` so it can be converted to and from the
conventional string representation of a triple.

`Triple` also has functions for querying a triple's endianness,
pointer bit width, and binary format.

And, `Triple` and the enum types have `host()` constructors, for targeting
the host.

It supports all triples currently used by rustc and rustup.

It does not support reading JSON target files itself. To use it with a JSON
target file, construct a `Triple` using the value of the "llvm-target" field.

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
wasmtime-28.0.0 ./ext/cargo-vendor/target-lexicon-0.12.16/README.md
wasmtime-27.0.0 ./ext/cargo-vendor/target-lexicon-0.12.16/README.md
wasmtime-26.0.0 ./ext/cargo-vendor/target-lexicon-0.12.16/README.md
wasmtime-25.0.2 ./ext/cargo-vendor/target-lexicon-0.12.16/README.md
wasmtime-25.0.1 ./ext/cargo-vendor/target-lexicon-0.12.16/README.md
wasmtime-25.0.0 ./ext/cargo-vendor/target-lexicon-0.12.16/README.md
wasmtime-24.0.0 ./ext/cargo-vendor/target-lexicon-0.12.16/README.md
wasmtime-23.0.2 ./ext/cargo-vendor/target-lexicon-0.12.13/README.md
wasmtime-22.0.0 ./ext/cargo-vendor/target-lexicon-0.12.13/README.md
wasmtime-21.0.1 ./ext/cargo-vendor/target-lexicon-0.12.13/README.md
wasmtime-20.0.2 ./ext/cargo-vendor/target-lexicon-0.12.13/README.md
wasmtime-20.0.0 ./ext/cargo-vendor/target-lexicon-0.12.13/README.md
wasmtime-18.0.3 ./ext/cargo-vendor/target-lexicon-0.12.13/README.md
wasmtime-17.0.1 ./ext/cargo-vendor/target-lexicon-0.12.13/README.md
wasmtime-17.0.0 ./ext/cargo-vendor/target-lexicon-0.12.13/README.md
wasmtime-16.0.0 ./ext/cargo-vendor/target-lexicon-0.12.13/README.md
wasmtime-15.0.1 ./ext/cargo-vendor/target-lexicon-0.12.13/README.md
wasmtime-15.0.0 ./ext/cargo-vendor/target-lexicon-0.12.13/README.md
wasmtime-14.0.4 ./ext/cargo-vendor/target-lexicon-0.12.12/README.md
wasmtime-14.0.3 ./ext/cargo-vendor/target-lexicon-0.12.12/README.md