diff options
| author | bors <bors@rust-lang.org> | 2023-08-27 16:06:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-27 16:06:17 +0000 |
| commit | 0fe46eed7a3bc8d487fd41e8c7f4c4fc8868fe94 (patch) | |
| tree | 743fa3b345f6070d8ae55c0f9f46b1ec15d64218 /compiler/rustc_interface/src | |
| parent | f0727758d101edc92f970a6617b2f26e826777c7 (diff) | |
| parent | abe2148aeef3a1ee4622ae8df43370aa749c7b4e (diff) | |
| download | rust-0fe46eed7a3bc8d487fd41e8c7f4c4fc8868fe94.tar.gz rust-0fe46eed7a3bc8d487fd41e8c7f4c4fc8868fe94.zip | |
Auto merge of #115226 - RalfJung:debug-abi, r=compiler-errors
add rustc_abi debugging attribute This is the call ABI equivalent of `rustc_layout(debug)`. Fixes https://github.com/rust-lang/rust/issues/115168 r? `@bjorn3`
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 18a669175b9..f6cbbad6338 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -22,7 +22,7 @@ use rustc_middle::query::{ExternProviders, Providers}; use rustc_middle::ty::{self, GlobalCtxt, RegisteredTools, TyCtxt}; use rustc_mir_build as mir_build; use rustc_parse::{parse_crate_from_file, parse_crate_from_source_str, validate_attr}; -use rustc_passes::{self, hir_stats, layout_test}; +use rustc_passes::{self, abi_test, hir_stats, layout_test}; use rustc_plugin_impl as plugin; use rustc_resolve::Resolver; use rustc_session::code_stats::VTableSizeInfo; @@ -818,6 +818,7 @@ fn analysis(tcx: TyCtxt<'_>, (): ()) -> Result<()> { } sess.time("layout_testing", || layout_test::test_layout(tcx)); + sess.time("abi_testing", || abi_test::test_abi(tcx)); // Avoid overwhelming user with errors if borrow checking failed. // I'm not sure how helpful this is, to be honest, but it avoids a |
