{"id":20700282,"url":"https://github.com/arttet/rust-compiler-builder","last_synced_at":"2026-02-02T21:51:11.089Z","repository":{"id":211306029,"uuid":"728752712","full_name":"arttet/rust-compiler-builder","owner":"arttet","description":"Building the Rust compiler and targets","archived":false,"fork":false,"pushed_at":"2025-01-01T00:57:28.000Z","size":1098,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T13:33:46.171Z","etag":null,"topics":["rust-compiler","rust-lang","tools-and-automation"],"latest_commit_sha":null,"homepage":"https://arttet.github.io/rust-compiler-builder/","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arttet.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-07T16:06:02.000Z","updated_at":"2024-10-10T11:42:45.000Z","dependencies_parsed_at":"2024-01-09T16:09:42.288Z","dependency_job_id":"58ae3861-ea3b-4092-b437-d1878174c4c3","html_url":"https://github.com/arttet/rust-compiler-builder","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":"0.19999999999999996","last_synced_commit":"d11bf26047dd97af4861c33c24f49f275f194ab1"},"previous_names":["arttet/rust-builder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arttet%2Frust-compiler-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arttet%2Frust-compiler-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arttet%2Frust-compiler-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arttet%2Frust-compiler-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arttet","download_url":"https://codeload.github.com/arttet/rust-compiler-builder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250333973,"owners_count":21413487,"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":["rust-compiler","rust-lang","tools-and-automation"],"created_at":"2024-11-17T00:34:45.134Z","updated_at":"2026-02-02T21:51:06.057Z","avatar_url":"https://github.com/arttet.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Compiler Builder\n\n[![Rust](https://img.shields.io/badge/Rust-Dev-orange.svg)](https://github.com/rust-lang/rust)\n\nBuilds the *Rust* compiler and [Tier 3 targets](https://doc.rust-lang.org/nightly/rustc/platform-support.html) using *GitHub Actions*.\n\n## Usage\n\n```sh\n▸▸▸ Download commands ◂◂◂\ndownload:               Download Rust sources\n▸▸▸ Configure commands ◂◂◂\nconfigure:              Configure Rust \u0026 LLVM with optimizations\nconfigure-dev:          Configure Rust without optimizations\nconfigure-dev-llvm:     Configure Rust \u0026 LLVM without optimizations\n▸▸▸ Target Info commands ◂◂◂\nshow-target-info:       Show target info\n▸▸▸ Utility commands ◂◂◂\nhelp:                   Show this help\nclean:                  Remove generated artifacts\nprune:                  Remove all downloaded artifacts\n▸▸▸ Documentation commands ◂◂◂\ndoc-build:              Build the documentation site [env: DOC_DIR=]\ndoc-serve:              Serve the documentation site [env: DOC_PORT=]\ndoc-clean:              Remove generated artifacts [env: DOC_DIR=]\n▸▸▸ Offline commands ◂◂◂\noffline:                Download prebuilt Rust binaries and cache them for offline use\n```\n\n\u003c!--\n\n## Show target information\n\n```sh\nbuild/x86_64-apple-darwin/stage2/bin/rustc --print target-list\nbuild/x86_64-apple-darwin/stage2/bin/rustc -Z unstable-options --target=arm64e-apple-darwin --print target-spec-json\nbuild/x86_64-apple-darwin/stage2/bin/rustc -Z unstable-options --target=arm64e-apple-ios --print target-spec-json\n```\n\n## Use Rust toolchain\n\n```\nCUSTOM_TOOLCHAIN_NAME=rust-$(echo $(build/x86_64-apple-darwin/stage2/bin/rustc -V) | cut -d' ' -f2)\nrustup toolchain link ${CUSTOM_TOOLCHAIN_NAME} build/x86_64-apple-darwin/stage2\nrustup default ${CUSTOM_TOOLCHAIN_NAME}\n\nrustup show\nrustc -Vv\n```\n\n## Show information about a binary\n\n```sh\nobjdump --macho --private-header [binary_file]\notool -h \u003cbinary_file\u003e\n\nod -t x1 -j [start_byte_offset] -N [number_of_bytes_to_read] -An [filename]\n\n```\n\n## [Verbose Linker](https://github.com/rust-lang/rust/issues/38206)\n\n```\nexport RUSTFLAGS=\"-C link-arg=-Wl,--verbose\"\nexport RUSTC_LOG=rustc_codegen_ssa::back::link=trace\n```\n\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farttet%2Frust-compiler-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farttet%2Frust-compiler-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farttet%2Frust-compiler-builder/lists"}