Skip to content

Commit 82f6a77

Browse files
author
The rustc-josh-sync Cronjob Bot
committed
Merge ref 'd493b7c5ac63' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@d493b7c Filtered ref: rust-lang/rustc-dev-guide@8e19834 Upstream diff: rust-lang/rust@cf1817b...d493b7c This merge was created using https://github.com/rust-lang/josh-sync.
2 parents 08fc2df + 8e19834 commit 82f6a77

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

examples/rustc-interface-example.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn main() {
5050
make_codegen_backend: None,
5151
expanded_args: Vec::new(),
5252
ice_file: None,
53-
hash_untracked_state: None,
53+
track_state: None,
5454
using_internal_features: &rustc_driver::USING_INTERNAL_FEATURES,
5555
};
5656
rustc_interface::run_compiler(config, |compiler| {
@@ -72,4 +72,4 @@ fn main() {
7272
}
7373
});
7474
});
75-
}
75+
}

examples/rustc-interface-getting-diagnostics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fn main() {
7878
make_codegen_backend: None,
7979
expanded_args: Vec::new(),
8080
ice_file: None,
81-
hash_untracked_state: None,
81+
track_state: None,
8282
using_internal_features: &rustc_driver::USING_INTERNAL_FEATURES,
8383
};
8484
rustc_interface::run_compiler(config, |compiler| {
@@ -97,4 +97,4 @@ fn main() {
9797
buffer.lock().unwrap().iter().for_each(|diagnostic| {
9898
println!("{diagnostic:#?}");
9999
});
100-
}
100+
}

src/tests/directives.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ See [Pretty-printer](compiletest.md#pretty-printer-tests).
326326
The following directives affect how certain command-line tools are invoked, in
327327
test suites that use those tools:
328328

329+
- `skip-filecheck` avoids running LLVM's `FileCheck` tool in tests that would normally run it to check output.
330+
- Used by codegen tests, assembly tests, and mir-opt tests.
329331
- `filecheck-flags` adds extra flags when running LLVM's `FileCheck` tool.
330332
- Used by [codegen tests](compiletest.md#codegen-tests),
331333
[assembly tests](compiletest.md#assembly-tests), and

0 commit comments

Comments
 (0)