Skip to content

Commit 784330e

Browse files
authored
Merge pull request rust-lang#2850 from rust-lang/rustc-pull
Rustc pull update
2 parents 01300b5 + 82f6a77 commit 784330e

4 files changed

Lines changed: 7 additions & 5 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+
}

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cf1817bc6ecd2d14ca492247c804bad31948dd56
1+
d493b7c5ac637ed7edf626128b9f14796a2dad20

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)