Commit a400780
committed
Roll rustc_private toolchain to nightly-2025-01-01
Port refactoring, analysis, PDG, and instrumentation to the Rust 1.85-era
compiler with representative Rust 2024 rewrite and runtime coverage.
Retain workspace edition 2021, published MSRV 1.70, and separate generated
2021/2024 compiler pins.
Replace private compiler layout ownership with public callbacks, preserve
AST/HIR identity and transformed macro fragments, adapt binder and MIR
handling, and retain instrumentation permissions and unwind behavior.
Use equivalent exposed-provenance casts for generated edition 2021 code.
Validate against an isolated baseline: 270 workspace tests (all 234 prior
passing identities retained), 29 refactor shell cases, 148 translator
successes with the same two expected failures, and json-c/Lua end-to-end
workflows. Keep the existing PDG Miri skip and documented baseline limits.1 parent e1e5bf2 commit a400780
171 files changed
Lines changed: 7522 additions & 3816 deletions
File tree
- .github/workflows
- c2rust-analyze
- src
- borrowck
- dataflow
- pointee_type
- rewrite
- expr
- tests
- analyze
- filecheck
- c2rust-macros/src
- c2rust-refactor
- gen
- src
- analysis
- ownership
- ast_builder
- ast_manip
- fold
- collapse
- interact
- matcher
- rewrite
- strategy
- select
- transform
- tests
- common
- snapshots
- c2rust-rust-tools/src
- c2rust-transpile
- src
- c_ast
- rust_ast
- translator
- tests
- docs
- dynamic_instrumentation
- src
- mir_utils
- point
- tests
- pdg/src
- snapshots
- util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
169 | | - | |
| 173 | + | |
170 | 174 | | |
171 | 175 | | |
172 | 176 | | |
| |||
0 commit comments