warning: `extern` declarations without an explicit ABI are deprecated
--> code.rs:3:5
|
3 | pub extern fn has_x86_interrupt_abi() {}
| ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
|
= note: `#[warn(missing_abi)]` on by default
warning: 1 warning emitted
note: no errors encountered even though delayed bugs were created
note: those delayed bugs will now be shown as internal compiler errors
error: internal compiler error: `#[track_caller]` requires the Rust ABI
|
= note: delayed at /rustc-dev/fb27476aaf1012f1f6ace6306f9b990e0d989c31/compiler/rustc_codegen_ssa/src/codegen_attrs.rs:154:31
0: <rustc_errors::DiagCtxtInner>::emit_diagnostic
1: <rustc_errors::DiagCtxtHandle>::emit_diagnostic
2: <rustc_span::ErrorGuaranteed as rustc_errors::diagnostic::EmissionGuarantee>::emit_producing_guarantee
3: rustc_codegen_ssa::codegen_attrs::codegen_fn_attrs
4: rustc_query_impl::query_impl::codegen_fn_attrs::invoke_provider_fn::__rust_begin_short_backtrace
5: rustc_query_impl::execution::try_execute_query::<rustc_middle::query::caches::DefIdCache<rustc_middle::query::erase::ErasedData<[u8; 8]>>, false>
6: rustc_query_impl::query_impl::codegen_fn_attrs::execute_query_non_incr::__rust_end_short_backtrace
7: rustc_hir_analysis::check::check::check_item_type
8: rustc_hir_analysis::check::wfcheck::check_well_formed
9: rustc_query_impl::query_impl::check_well_formed::invoke_provider_fn::__rust_begin_short_backtrace
10: rustc_query_impl::execution::try_execute_query::<rustc_data_structures::vec_cache::VecCache<rustc_span::def_id::LocalDefId, rustc_middle::query::erase::ErasedData<[u8; 1]>, rustc_middle::dep_graph::graph::DepNodeIndex>, false>
11: rustc_query_impl::query_impl::check_well_formed::execute_query_non_incr::__rust_end_short_backtrace
12: rustc_hir_analysis::check::wfcheck::check_type_wf
13: rustc_query_impl::query_impl::check_type_wf::invoke_provider_fn::__rust_begin_short_backtrace
14: rustc_query_impl::execution::try_execute_query::<rustc_middle::query::caches::SingleCache<rustc_middle::query::erase::ErasedData<[u8; 1]>>, false>
15: rustc_query_impl::query_impl::check_type_wf::execute_query_non_incr::__rust_end_short_backtrace
16: rustc_hir_analysis::check_crate
17: rustc_interface::passes::analysis
18: rustc_query_impl::execution::try_execute_query::<rustc_middle::query::caches::SingleCache<rustc_middle::query::erase::ErasedData<[u8; 0]>>, false>
19: rustc_query_impl::query_impl::analysis::execute_query_non_incr::__rust_end_short_backtrace
20: rustc_interface::interface::run_compiler::<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}
21: std::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>
22: <std::thread::lifecycle::spawn_unchecked<rustc_interface::util::run_in_thread_with_globals<rustc_interface::util::run_in_thread_pool_with_globals<rustc_interface::interface::run_compiler<(), rustc_driver_impl::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
23: <std::sys::thread::unix::Thread>::new::thread_start
24: <unknown>
25: <unknown>
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: please make sure that you have updated to the latest nightly
note: please attach the file at `/home/matthias/vcs/github/CRED/rustc-ice-2026-03-29T09_07_12-3911110.txt` to your bug report
note: rustc 1.96.0-nightly (fb27476aa 2026-03-28) running on x86_64-unknown-linux-gnu
query stack during panic:
end of query stack
Code
Meta
rustc --version --verbose:Error output
Backtrace