Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
cc4b0b9
ensure repr(int) on enums uses the same ABI as int
asquared31415 Nov 5, 2026
d6a0cdf
Move OutputType to output.rs
blyxyas Nov 20, 2026
38a9c75
Rollup merge of #166270 - blyxyas:output-type-refactors, r=bjorn3
jhpratt Nov 23, 2026
5a98e89
Rollup merge of #165302 - clubby789:rustc-unicode, r=fmease
jhpratt Nov 23, 2026
19368cd
Rollup merge of #166249 - JonathanBrouwer:attr-word, r=mejrs
jhpratt Nov 23, 2026
951869d
Rollup merge of #166370 - mejrs:on_duplicate, r=JonathanBrouwer
jhpratt Nov 23, 2026
7649aba
Auto merge of #166371 - jhpratt:rollup-pKSrhMI, r=jhpratt
bors Nov 23, 2026
2b52af4
Auto merge of #166169 - sgasho:153176_lifetime_const_eval_equality, r…
bors Nov 23, 2026
37722cb
Rollup merge of #164537 - fmease:parser-cleanup-prefix-op, r=camelid
jhpratt Nov 23, 2026
85ff1cf
Rollup merge of #165481 - asquared31415:enum-int-repr, r=workingjubilee
jhpratt Nov 23, 2026
8471190
Rollup merge of #166290 - jackh726:unsafe-binders-require-next-solver…
jhpratt Nov 23, 2026
55f16e2
Rollup merge of #165865 - mejrs:more_lint_attrs, r=oli-obk
jhpratt Nov 23, 2026
ca6f4f6
Rollup merge of #166221 - maxdexh:reserve-fundamental-static-alloc-im…
jhpratt Nov 23, 2026
2d853b9
Auto merge of #166415 - jhpratt:rollup-KEoskuu, r=jhpratt
bors Nov 23, 2026
54ec598
Auto merge of #166140 - nnethercote:share-more-debuginfo, r=wesleywiser
bors Nov 23, 2026
b723fb9
Prepare for merging from rust-lang/rust
workflows-miri[bot] Nov 24, 2026
b6978d8
Merge ref 'f7da9a42368f' from rust-lang/rust
workflows-miri[bot] Nov 24, 2026
0f9d5ab
fmt
workflows-miri[bot] Nov 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion priroda/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use rustc_driver::Compilation;
use rustc_interface::interface;
use rustc_middle::ty::TyCtxt;
use rustc_session::EarlyDiagCtxt;
use rustc_session::config::ErrorOutputType;
use rustc_session::output::ErrorOutputType;
use rustc_structures::CrateType;

fn find_sysroot() -> String {
Expand Down
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fde8dfd638478da758f93f0e8d9b74d7907f0c9e
f7da9a42368f31abb02b8064bb93a11bf9ba9f5e
3 changes: 2 additions & 1 deletion src/bin/miri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ use rustc_interface::util::DummyCodegenBackend;
use rustc_log::tracing::debug;
use rustc_middle::query::LocalCrate;
use rustc_middle::ty::TyCtxt;
use rustc_session::config::{ErrorOutputType, OptLevel};
use rustc_session::config::OptLevel;
use rustc_session::output::ErrorOutputType;
use rustc_session::{EarlyDiagCtxt, EarlySession, Session};
use rustc_structures::CrateType;

Expand Down
1 change: 1 addition & 0 deletions src/shims/native_lib/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ trait EvalContextExtPriv<'tcx>: crate::MiriInterpCxExt<'tcx> {
// repr(C) enum. Those indeed behave like integers in the ABI.)
assert!(!layout.ty.ty_adt_def().is_some_and(|adt| !adt.is_enum() && adt.repr().c()));
return Ok(match s.primitive() {
Primitive::Bool => FfiType::u8(),
Primitive::Int(Integer::I8, /* signed */ true) => FfiType::i8(),
Primitive::Int(Integer::I16, /* signed */ true) => FfiType::i16(),
Primitive::Int(Integer::I32, /* signed */ true) => FfiType::i32(),
Expand Down
2 changes: 2 additions & 0 deletions tests/pass/function_calls/abi_compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ fn main() {
test_abi_newtype::<Zst>(Default::default());
test_abi_newtype::<ReprAlignZst>(Default::default());
test_abi_newtype::<ReprCZst>(Default::default());
// FIXME (ABI): this should work, but doesn't - see https://github.com/rust-lang/rust/issues/165800
// test_abi_newtype::<bool>(Default::default());
test_abi_newtype::<u32>(Default::default());
test_abi_newtype::<f32>(Default::default());
test_abi_newtype::<num::Complex<f16>>(Default::default());
Expand Down
Loading