#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

#648 in Development tools

Download history 205/week @ 2024-09-24 177/week @ 2024-10-01 133/week @ 2024-10-08 94/week @ 2024-10-15 104/week @ 2024-10-22 114/week @ 2024-10-29 96/week @ 2024-11-05 66/week @ 2024-11-12 95/week @ 2024-11-19 106/week @ 2024-11-26 103/week @ 2024-12-03 286/week @ 2024-12-10 75/week @ 2024-12-17 27/week @ 2024-12-24 24/week @ 2024-12-31 38/week @ 2025-01-07

186 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
~271K SLoC