{"id":15030632,"url":"https://github.com/rust-lang/rustc_codegen_c","last_synced_at":"2025-10-26T22:36:30.421Z","repository":{"id":255010243,"uuid":"847983510","full_name":"rust-lang/rustc_codegen_c","owner":"rust-lang","description":"C based backend for rustc","archived":false,"fork":false,"pushed_at":"2024-10-27T10:54:37.000Z","size":43,"stargazers_count":10,"open_issues_count":1,"forks_count":3,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-01-30T07:21:57.102Z","etag":null,"topics":[],"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/rust-lang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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}},"created_at":"2024-08-26T23:15:13.000Z","updated_at":"2025-01-28T09:53:48.000Z","dependencies_parsed_at":"2024-08-27T13:54:10.159Z","dependency_job_id":"6efbb547-7a12-4af7-90c1-87b94e70a1d3","html_url":"https://github.com/rust-lang/rustc_codegen_c","commit_stats":null,"previous_names":["rust-lang/rustc_codegen_c"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Frustc_codegen_c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Frustc_codegen_c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Frustc_codegen_c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Frustc_codegen_c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-lang","download_url":"https://codeload.github.com/rust-lang/rustc_codegen_c/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237224794,"owners_count":19275086,"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":[],"created_at":"2024-09-24T20:13:55.012Z","updated_at":"2025-10-19T22:31:50.762Z","avatar_url":"https://github.com/rust-lang.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":["Other dialects and variants"],"readme":"# rustc_codegen_c\n\nC based backend for rustc\n\n[![CI](https://github.com/rust-lang/rustc_codegen_c/actions/workflows/ci.yml/badge.svg)](https://github.com/rust-lang/rustc_codegen_c/actions/workflows/ci.yml)\n\nThis a C codegen backend for rustc, which lowers Rust MIR to C code and compiles\nit with a C compiler.\n\nThis code is still highly experimental and not ready for production use.\n\n## Try it\n\nIn the root directory of the project, run the following command:\n\n```bash\n./y rustc examples/basic_math.rs\n./build/basic_math\n```\n\nThe usage of `./y` can be viewed from `./y help`.\n\nNote: only Linux is supported at the moment. `clang` is required to compile C code, \nand LLVM FileCheck is required to test the codegen.\n\n## License\n\nThis project is licensed under a dual license: MIT or Apache 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Frustc_codegen_c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-lang%2Frustc_codegen_c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Frustc_codegen_c/lists"}