惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LINUX DO - 最新话题
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
PCI Perspectives
PCI Perspectives
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
H
Heimdal Security Blog
S
Security @ Cisco Blogs
N
News | PayPal Newsroom
J
Java Code Geeks
罗磊的独立博客
Security Archives - TechRepublic
Security Archives - TechRepublic
N
News and Events Feed by Topic
V
V2EX
WordPress大学
WordPress大学
Google Online Security Blog
Google Online Security Blog
N
News and Events Feed by Topic
www.infosecurity-magazine.com
www.infosecurity-magazine.com
月光博客
月光博客
AI
AI
小众软件
小众软件
The GitHub Blog
The GitHub Blog
MongoDB | Blog
MongoDB | Blog
A
Arctic Wolf
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
美团技术团队
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
Tailwind CSS Blog
S
Schneier on Security
博客园 - 三生石上(FineUI控件)
F
Full Disclosure
B
Blog RSS Feed
Forbes - Security
Forbes - Security
S
SegmentFault 最新的问题
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
云风的 BLOG
云风的 BLOG
Jina AI
Jina AI
Cisco Talos Blog
Cisco Talos Blog
U
Unit 42
Project Zero
Project Zero
H
Hacker News: Front Page
Y
Y Combinator Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
The Cloudflare Blog
大猫的无限游戏
大猫的无限游戏
S
Secure Thoughts
The Hacker News
The Hacker News
Microsoft Azure Blog
Microsoft Azure Blog

Rust Blog

Security Advisory for Cargo (CVE-2026-5223) | Rust Blog Security Advisory for Cargo (CVE-2026-5222) | Rust Blog Project goals update — April 2026 (end of 2025H2) | Rust Blog Rust is participating in Outreachy | Rust Blog Raising the baseline for the `nvptx64-nvidia-cuda` target | Rust Blog Announcing Google Summer of Code 2026 selected projects | Rust Blog Announcing Rust 1.95.0 | Rust Blog docs.rs: building fewer targets by default | Rust Blog Changes to WebAssembly targets and handling undefined symbols | Rust Blog Announcing Rust 1.94.1 | Rust Blog Security advisory for Cargo | Rust Blog What we heard about Rust's challenges | Rust Blog Call for Testing: Build Dir Layout v2 | Rust Blog Announcing rustup 1.29.0 | Rust Blog Announcing Rust 1.94.0 | Rust Blog 2025 State of Rust Survey Results | Rust Blog Rust debugging survey 2026 | Rust Blog Update on the October 15, 2018 incident on crates.io Announcing Rust 1.29.2 Announcing Rust 1.29 Announcing Rust 1.28 What is Rust 2018? Announcing Rust 1.27.2 Announcing Rust 1.27.1 Security Advisory for rustdoc Announcing Rust 1.27 Announcing Rust 1.26.2 Announcing Rust 1.26.1 Rust turns three Announcing Rust 1.26 The Rust Team All Hands in Berlin: a Recap Increasing Rust’s Reach 2018 Announcing Rust 1.25 Rust's 2018 roadmap Announcing Rust 1.24.1 Announcing Rust 1.24 The 2018 Rust Event Lineup Announcing Rust 1.23 New Year's Rust: A Call for Community Blogposts Rust in 2017: what we achieved Announcing Rust 1.22 (and 1.22.1) Fearless Concurrency in Firefox Quantum Announcing Rust 1.21 impl Future for Rust Rust 2017 Survey Results Announcing Rust 1.20 Announcing Rust 1.19 The 2017 Rust Conference Lineup Rust's 2017 roadmap, six months in Increasing Rust’s Reach Announcing Rust 1.18 Two years of Rust The Rust Libz Blitz Launching the 2017 State of Rust Survey Announcing Rust 1.17 Announcing Rust 1.16 Rust's language ergonomics initiative Announcing Rust 1.15.1 Rust's 2017 roadmap Announcing Rust 1.15 Announcing Rust 1.14 Announcing the First Underhanded Rust Contest Announcing Rust 1.13 Announcing Rust 1.12.1 Announcing Rust 1.12 Incremental Compilation Announcing Rust 1.11 Shape of errors to come The 2016 Rust Conference Lineup Announcing Rust 1.10 State of Rust Survey 2016 Announcing Rust 1.9 One year of Rust Taking Rust everywhere with rustup Launching the 2016 State of Rust Survey Cargo: predictable dependency management Introducing MIR Announcing Rust 1.8 Announcing Rust 1.7 Announcing Rust 1.6 Announcing Rust 1.5 Announcing Rust 1.4 Announcing Rust 1.3 Rust in 2016 Announcing Rust 1.2 Rust 1.1 stable, the Community Subteam, and RustCamp Announcing Rust 1.0 Abstraction without overhead: traits in Rust Rust Once, Run Everywhere Mixing matching, mutation, and moves in Rust Fearless Concurrency with Rust Announcing Rust 1.0 Beta Announcing Rust 1.0.0.alpha.2 Rust 1.0: status report and final timeline Announcing Rust 1.0 Alpha Rust 1.0: Scheduling the trains Yehuda Katz and Steve Klabnik are joining the Rust Core Team Cargo: Rust's community crate host Stability as a Deliverable Road to Rust 1.0
This Month in Our Test Infra: September 2024 | Inside Rust Blog
Jieyou Xu on behalf of the Bootstrap Team · 2024-10-10 · via Rust Blog

This Month in Our Test Infra: September 2024

This is a quick summary of the changes in the test infrastructure for the rust-lang/rust repository1 for September 2024. It also includes brief descriptions of on-going work.

As usual, if you encounter bugs or UX issues when using our test infrastructure, please file an issue. Bugs and papercuts can't be fixed if we don't know about them!

Changes

run-make test suite now has access to a properly-staged cargo

bootstrap now builds a properly-staged cargo and makes it available for run-make tests. Previously, run-make tests just used whatever initial cargo bootstrap had access to, but this caused problems if a run-make test uses a cargo feature that's present in nightly but not in beta. We encountered some interesting build cache invalidation issues related to differing RUSTFLAGS in the process, but were able to fix them. We want to add mechanisms to bootstrap to make it harder to misuse RUSTFLAGS which may lead to hard-to-diagnose build cache invalidation in the future.

Why -Zon-broken-pipe=kill is required when building rustc was its own entire rabbit hole, in case you were curious.

More run-make migrations and fixes

The emit-to-stdout run-make test was ported to rmake.rs, only [10 more to go]. The remaining ones are stuck on being quite tricky. See the tracking issue for why we are transitioning away from Makefiles in run-make tests.

Misc:

run_make_support library updates

run_make_support is the support library built and made available to run-make tests.

compiletest improvements and fixes

We dropped compiletest's legacy directive check (e.g. // ignore-test hello no longer warns). This was originally added when we migrated from // to //@ to help test writers notice the new directives, but now a long time has passed so we can remove it as it was causing friction in adding new directives and authoring tests. For example, the Specification Team wanted to add a //@ reference directive, but the legacy directive check would trigger on:

// So what if we added a
// reference to the           <- `reference` is a known directive, and
//                               `// reference` looks suspcious!
// rustc-dev-guide?

This was added to initially to help migration from // to //@, but since a long time has passed we no longer need this check to help contributors know that legacy directives are being phased out.

We updated some compiletest normalizations and directive renaming. In particular, we restricted //@ ignore-mode-* directives to not accept all test suites, and later converted //@ ignore-mode-coverage-map and //@ ignore-mode-coverage-run to //@ ignore-coverage-map and //@ ignore-coverage-run because only coverage-map and coverage-run were special in that the same test source files ran under two test suite configurations.

We broke up compiletest's runtest.rs as it was previously massive, clocking in at 4710 lines. It's now around 2700 lines, so still massive, but at least slightly less so.

We added a help message upon crashes test failure that you can set COMPILETEST_VERBOSE_CRASHES=1 to get compiler stderr/stdout output from trying to build the failing crashes test.

We also registered tool docs for compiletest. There currently isn't much doc comments in compiletest, but having them getting built and made available as part of nightly rustc docs is a good first step.

Misc:

Testing documentation improvements

We improved testing docs in rustc-dev-guide. We added a testing best practices chapter, and updated the compiletest directives listing.

There's still a lot of room for improvement in our testing docs -- in compiletest, bootstrap and rustc-dev-guide, but one step at a time.

Test suite cleanups

We deleted an entire test suite run-pass-valgrind because it was never properly wired up and properly implemented, and was not used. It turns out deleting the test suite actually fixes a bug from 2017 run-pass-valgrind tests don't actually run in valgrind #44816 because you can't have a test suite related bug if the test suite doesn't exist!

Misc:

On-going developments

  • Add test infrastructure support for a minicore test auxiliary, so that #![no_std] cross-compiling build-only tests don't need to reinvent and reimplement core prelude stubs again and again. See https://github.com/rust-lang/rust/issues/131485.
  • We want to make RUSTFLAGS harder to misuse that can lead to tool build cache invalidation, leading to unnecessary rebuilds.
  • There's on-going effort to redesign stage0 std, to help make bootstrap staging more consistent and more intuitive.
  1. The test infra here refers to the test harness compiletest and supporting components in our build system bootstrap. This test infra is used mainly by rustc and rustdoc. Other tools like cargo, miri or rustfmt maintain their own test infra.