#target #rustc #linker #llvm #version #script #compiler

nightly jomy-ap-rustc_target

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

2 releases (1 stable)

new 1.83.0 Nov 29, 2024
0.1.0 Nov 29, 2024

#276 in Programming languages

Download history 235/week @ 2024-11-25

235 downloads per month
Used in 5 crates (4 directly)

MIT/Apache

2MB
45K 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–38MB
~616K SLoC