{"id":29419873,"url":"https://github.com/bytecodealliance/target-lexicon","last_synced_at":"2025-07-12T01:13:12.927Z","repository":{"id":33283435,"uuid":"131346881","full_name":"bytecodealliance/target-lexicon","owner":"bytecodealliance","description":"Target \"triple\" support","archived":false,"fork":false,"pushed_at":"2025-02-07T20:46:46.000Z","size":232,"stargazers_count":54,"open_issues_count":7,"forks_count":50,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-07-05T00:08:51.009Z","etag":null,"topics":["compiler-construction"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bytecodealliance.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-27T21:33:33.000Z","updated_at":"2025-05-24T21:28:19.000Z","dependencies_parsed_at":"2023-12-30T00:35:29.835Z","dependency_job_id":"0d3a5618-659d-433c-8bb3-10827b789bc9","html_url":"https://github.com/bytecodealliance/target-lexicon","commit_stats":{"total_commits":179,"total_committers":28,"mean_commits":6.392857142857143,"dds":0.5698324022346368,"last_synced_commit":"61922cd86a5fee68610cd30b5ae7098d28413d05"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/bytecodealliance/target-lexicon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Ftarget-lexicon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Ftarget-lexicon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Ftarget-lexicon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Ftarget-lexicon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bytecodealliance","download_url":"https://codeload.github.com/bytecodealliance/target-lexicon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Ftarget-lexicon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264192296,"owners_count":23570754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compiler-construction"],"created_at":"2025-07-12T01:13:12.200Z","updated_at":"2025-07-12T01:13:12.915Z","avatar_url":"https://github.com/bytecodealliance.png","language":"Rust","readme":"This is a library for managing targets for compilers and related tools.\n\nCurrently, the main feature is support for decoding [LLVM \"triples\"], which\nare strings that identify a particular target configuration. They're named\n\"triples\" because historically they contained three fields, though over time\nthey've added additional fields. This library provides a `Triple` struct\ncontaining enums for each of fields of a triple. `Triple` implements\n`FromStr` and `fmt::Display` so it can be converted to and from the\nconventional string representation of a triple.\n\n`Triple` also has functions for querying a triple's endianness,\npointer bit width, and binary format.\n\nAnd, `Triple` and the enum types have `host()` constructors, for targeting\nthe host.\n\nIt somewhat supports reading triples currently used by `rustc` and rustup,\nthough beware that the mapping between `rustc` and LLVM triples is not\none-to-one.\n\nIt does not support reading JSON target files itself. To use it with a JSON\ntarget file, construct a `Triple` using the value of the \"llvm-target\" field.\n\n[LLVM \"triples\"]: https://clang.llvm.org/docs/CrossCompilation.html#target-triple\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytecodealliance%2Ftarget-lexicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytecodealliance%2Ftarget-lexicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytecodealliance%2Ftarget-lexicon/lists"}