TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

What is Rust doing behind the scenes?

6 点作者 hyperluz超过 1 年前

2 条评论

frankjr超过 1 年前
`cargo-inspect` is no longer in development and has been superseded by <a href="https:&#x2F;&#x2F;github.com&#x2F;dtolnay&#x2F;cargo-expand">https:&#x2F;&#x2F;github.com&#x2F;dtolnay&#x2F;cargo-expand</a>
评论 #38595552 未加载
hyperluz超过 1 年前
There are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle. -- Albert Einstein<p>This tool stands on the shoulders of giants. To work its magic, it runs the following commands:<p>rustc -Zinspect=hir, for retrieving the HIR. rustfmt, for formatting the output. prettyprint, for syntax-highlighting, which is just a wrapper around the awesome syntect and bat crates.