#rustc-auto-publish #llvm #linker #how #low-level #alexcrichton #rustc-target

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

#411 in Programming languages

Download history 102/week @ 2024-11-27 129/week @ 2024-12-04 265/week @ 2024-12-11 72/week @ 2024-12-18 14/week @ 2024-12-25 34/week @ 2025-01-01 41/week @ 2025-01-08 70/week @ 2025-01-15 47/week @ 2025-01-22 59/week @ 2025-01-29 225/week @ 2025-02-05 206/week @ 2025-02-12 46/week @ 2025-02-19 178/week @ 2025-02-26 26/week @ 2025-03-05 77/week @ 2025-03-12

340 downloads per month
Used in 22 crates (4 directly)

MIT/Apache

1.5MB
33K SLoC

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.


lib.rs:

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.

Dependencies

~9–19MB
~290K SLoC