#rustc #target #llvm #linker #compiler #details #script

nightly msiz_rustc-ap-rustc_target

该软件包 rustc_target 在 rust-lang/rust 仓库中从提交 74d5c70b174f06843049af2d764ff57ddc81c81c 的自动发布版本。此crate的发布脚本位于:https://github.com/alexcrichton/rustc-auto-publish

3 个稳定版本

3.0.0 2019年9月11日
2.0.0 2019年9月11日
1.0.0 2019年9月10日

#1688开发工具

每月 28 次下载
用于 msiz_rustc-ap-syntax

MIT/Apache

1MB
24K SLoC

librustc_target 包含一些针对不同编译目标等的一些非常低级的详细信息。

有关 rustc 的工作方式的更多信息,请参阅 rustc 指南


lib.rs:

一些 rustc 使用但没有很多依赖的东西

最初从 rustc::back 中提取,名义上是编译器 '后端',尽管 LLVM 是 rustc 的后端,所以 rustc_target 实际上只是与代码生成和链接相关的零散代码。此crate主要存在是为了使 rustc 更小,所以我们可能会在这里放置更多 '东西'。它不依赖于 LLVM。

依赖项

~7MB
~131K SLoC