#rustc #target #llvm #linker #compilation #compiler #different

nightly fast-rustc-ap-rustc_target

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

1 stable release

1.0.0 Mar 10, 2020

#1866 in Development tools


Used in 3 crates (via fast-rustc-ap-rustc_sessi…)

MIT/Apache

1MB
27K SLoC

librustc_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 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

~6MB
~109K SLoC