#rustc-auto-publish #rustc-target #linker #llvm #e7e918 #52781b53f598e25d #9a27044f42ace9eb #dev-guide

nightly rustc-ap-rustc_target

Automatically published version of the package rustc_target in the rust-lang/rust repository from commit 9a27044f42ace9eb652781b53f598e25d4e7e918 The publishing script for this crate lives at: https://github.com/alexcrichton/rustc-auto-publish

596 major breaking releases

727.0.0 Jul 6, 2021
726.0.0 Jun 29, 2021
725.0.0 Jun 22, 2021
724.0.0 Jun 15, 2021
113.0.0 Apr 27, 2018

#567 in Programming languages

Download history 306/week @ 2025-09-11 336/week @ 2025-09-18 676/week @ 2025-09-25 632/week @ 2025-10-02 422/week @ 2025-10-09 368/week @ 2025-10-16 1034/week @ 2025-10-23 848/week @ 2025-10-30 566/week @ 2025-11-06 408/week @ 2025-11-13 1852/week @ 2025-11-20 2406/week @ 2025-11-27 514/week @ 2025-12-04 199/week @ 2025-12-11 61/week @ 2025-12-18 174/week @ 2025-12-25

1,181 downloads per month
Used in 22 crates (4 directly)

MIT/Apache

1.5MB
33K SLoC

Some stuff used by rustc that doesn't have many dependencies

Originally extracted from rustc::back, which was nominally the compiler 'backend', though LLVM is rustc's backend, so rustc_target is really just odds-and-ends relating to code gen and linking. This crate mostly exists to make rustc smaller, so we might put more 'stuff' here in the future. It does not have a dependency on LLVM.


rustc_target contains some very low-level details that are specific to different compilation targets and so forth.

For more information about how rustc works, see the rustc dev guide.

Dependencies

~14–28MB
~351K SLoC