Skip to content

Bump rustc to 2026-02-19#1030

Merged
Nadrieril merged 6 commits intoAeneasVerif:mainfrom
soteria-tools:bump-rustc
Feb 24, 2026
Merged

Bump rustc to 2026-02-19#1030
Nadrieril merged 6 commits intoAeneasVerif:mainfrom
soteria-tools:bump-rustc

Conversation

@N1ark
Copy link
Contributor

@N1ark N1ark commented Feb 22, 2026

  • Bump the rust toolchain version to 2026-02-19!

In smaller bits, ordered chronologically

The main thing i need some attention for in the review is the change in translate-traits, to ignore Destruct: if you have a better fix for it let me know

ci: use AeneasVerif/aeneas#796
ci: use AeneasVerif/eurydice#381

@N1ark N1ark force-pushed the bump-rustc branch 3 times, most recently from b097f0b to fc0282b Compare February 22, 2026 22:41
@N1ark N1ark marked this pull request as ready for review February 22, 2026 22:48
@N1ark N1ark force-pushed the bump-rustc branch 2 times, most recently from cc0694d to 8669dde Compare February 23, 2026 14:50
@N1ark N1ark force-pushed the bump-rustc branch 5 times, most recently from 85f201f to 5ef2cea Compare February 23, 2026 16:20
Comment on lines 143 to 148
((((*_4)).1).0).0 = [move _5]
storage_dead(_5)
_3 = move _4
conditional_drop[{impl Destruct for alloc::boxed::Box<T>[@TraitClause0, @TraitClause1]}<MaybeUninit<[u8; 1 : usize]>[{built_in impl Sized for [u8; 1 : usize]}], Global>[{built_in impl MetaSized for MaybeUninit<[u8; 1 : usize]>[{built_in impl Sized for [u8; 1 : usize]}]}, {built_in impl Sized for Global}]] _4
storage_dead(_4)
vec_2 = box_assume_init_into_vec_unsafe<u8, 1 : usize>[{built_in impl Sized for u8}](move _3)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's important that vec![] expands to safe code that aeneas can translate. So we'll still need a reconstruction pass, hopefully much simpler now. The only difference is that we should use Box::<MaybeUninit<_>>::write instead of writing by hand then calling box_assume_init_into_vec_unsafe.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be left for a separate PR; to have it written down somewhere:
the goal is to have a reconstruction of the following form (assuming the shape above):

_T = [move _5]
_3 = Box::write(move _4, move _T)
_B = unsize<Box<[T; N]>, Box<[T]>> _3
vec_2 = (((((*_B)).1).0).0).into_vec()

@N1ark N1ark force-pushed the bump-rustc branch 2 times, most recently from dad517e to 40bff4f Compare February 24, 2026 15:34
@Nadrieril Nadrieril enabled auto-merge February 24, 2026 16:13
@Nadrieril Nadrieril added this pull request to the merge queue Feb 24, 2026
Merged via the queue into AeneasVerif:main with commit f33dce6 Feb 24, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants