#compiler #rustc #language #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

#141 in FFI

Download history 5185/week @ 2023-05-31 4943/week @ 2023-06-07 4600/week @ 2023-06-14 5243/week @ 2023-06-21 5695/week @ 2023-06-28 6229/week @ 2023-07-05 4445/week @ 2023-07-12 4583/week @ 2023-07-19 4559/week @ 2023-07-26 4452/week @ 2023-08-02 4630/week @ 2023-08-09 4690/week @ 2023-08-16 5922/week @ 2023-08-23 4614/week @ 2023-08-30 5231/week @ 2023-09-06 5524/week @ 2023-09-13

22,026 downloads per month
Used in 23 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

~5–15MB
~200K SLoC