#rustc #compiler #target #llvm #rustc-auto-publish #compilation #linker

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

#655 in Development tools

Download history 31/week @ 2024-07-22 345/week @ 2024-07-29 74/week @ 2024-08-05 72/week @ 2024-08-12 51/week @ 2024-08-19 95/week @ 2024-08-26 74/week @ 2024-09-02 122/week @ 2024-09-09 65/week @ 2024-09-16 195/week @ 2024-09-23 191/week @ 2024-09-30 117/week @ 2024-10-07 110/week @ 2024-10-14 113/week @ 2024-10-21 102/week @ 2024-10-28 115/week @ 2024-11-04

447 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

~8–18MB
~264K SLoC