| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor: migrate rustc analysis and driver APIs Adapt compiler queries, type reflection, substitutions, ownership analysis, resolution, type maps, and driver callbacks to the target nightly. Carry C2Rust's existing resolver-map import abstraction through the updated lowering interfaces. Module traversal follows only module resolutions, resolve_absolute selects module-capable intermediate children, and reflected HIR literals keep their source span on the enclosing AST expression. | 2 个月前 | |
refactor: update the target rustc AST model Reconcile the generated AST schema and handwritten builders, folders, token traversal, macro recovery, equivalence, node IDs, and matcher support with nightly-2023-04-15. MacCall::pattern_symbol now treats an empty delimited token stream as the equivalent of the removed MacArgs::Empty. This is slightly broader than before: source-written invocations like `__x!()` can now bind a pattern symbol, where previously only builder-created macro nodes could. The target token::Lit has no span field, so the HIR literal conversion is documented as span-free; callers must keep the span on the containing AST node. | 2 个月前 | |
refactor: remove unused flamer instrumentation | 2 个月前 | |
refactor: remove unused flamer instrumentation | 2 个月前 | |
Roll toolchain to nightly-2022-11-03 (#1614) | 5 个月前 | |
refactor: update the target rustc AST model Reconcile the generated AST schema and handwritten builders, folders, token traversal, macro recovery, equivalence, node IDs, and matcher support with nightly-2023-04-15. MacCall::pattern_symbol now treats an empty delimited token stream as the equivalent of the removed MacArgs::Empty. This is slightly broader than before: source-written invocations like `__x!()` can now bind a pattern symbol, where previously only builder-created macro nodes could. The target token::Lit has no span field, so the HIR literal conversion is documented as span-free; callers must keep the span on the containing AST node. | 2 个月前 | |
refactor: adapt rewrite and transformation passes Update rewrite, printing, literal, macro, item, ownership, retype, static, and reorganization paths for the target AST APIs. Preserve source tokens by reparsing item headers when rustc does not collect them, falling back to other strategies when reparsing is not possible. Beyond API migration, AutoRetype now skips locals that already have type annotations and ignores functions whose typeck results were tainted before retyping, so pre-existing errors cannot abort the retype loop. External-module recovery borrows reparsed and original item lists as slices rather than cloning into temporary Vecs. | 2 个月前 | |
refactor: adapt rewrite and transformation passes Update rewrite, printing, literal, macro, item, ownership, retype, static, and reorganization paths for the target AST APIs. Preserve source tokens by reparsing item headers when rustc does not collect them, falling back to other strategies when reparsing is not possible. Beyond API migration, AutoRetype now skips locals that already have type annotations and ignores functions whose typeck results were tainted before retyping, so pre-existing errors cannot abort the retype loop. External-module recovery borrows reparsed and original item lists as slices rather than cloning into temporary Vecs. | 2 个月前 | |
refactor: reorganize_definitions: fix for non-ASCII identifiers | 23 天前 | |
c2rust-refactor: Print more information on assertion failure in lone() | 10 个月前 | |
c2rust-refactor: Add old c2rust_ast_builder::builder module | 11 个月前 | |
refactor: remove flame dependency and profiling macros | 2 个月前 | |
c2rust-refactor: Run cargo fmt | 11 个月前 | |
refactor: Do not resolve NodeIds through colliding span keys The span- and context-based maps used by opt_node_to_hir_id keep only the last node inserted under each key, so same-span siblings (e.g. the signature types of a derive-generated `fn eq`) all resolved to the one surviving HirId. Only trust a lookup if the AST-side reverse map returns the same NodeId; otherwise return None so callers skip the node. The rename_unnamed derive(PartialEq, Eq) test now passes instead of panicking, so drop its should_panic and add its snapshot. Fixes #1818 | 1 个月前 | |
refactor: remove unused flamer instrumentation | 2 个月前 | |
refactor: adapt rewrite and transformation passes Update rewrite, printing, literal, macro, item, ownership, retype, static, and reorganization paths for the target AST APIs. Preserve source tokens by reparsing item headers when rustc does not collect them, falling back to other strategies when reparsing is not possible. Beyond API migration, AutoRetype now skips locals that already have type annotations and ignores functions whose typeck results were tainted before retyping, so pre-existing errors cannot abort the retype loop. External-module recovery borrows reparsed and original item lists as slices rather than cloning into temporary Vecs. | 2 个月前 | |
refactor: migrate rustc analysis and driver APIs Adapt compiler queries, type reflection, substitutions, ownership analysis, resolution, type maps, and driver callbacks to the target nightly. Carry C2Rust's existing resolver-map import abstraction through the updated lowering interfaces. Module traversal follows only module resolutions, resolve_absolute selects module-capable intermediate children, and reflected HIR literals keep their source span on the enclosing AST expression. | 2 个月前 | |
refactor: remove flame dependency and profiling macros | 2 个月前 | |
refactor: remove flame dependency and profiling macros | 2 个月前 | |
0.22.0: `cargo clippy --fix` | 7 个月前 | |
refactor: adapt rewrite and transformation passes Update rewrite, printing, literal, macro, item, ownership, retype, static, and reorganization paths for the target AST APIs. Preserve source tokens by reparsing item headers when rustc does not collect them, falling back to other strategies when reparsing is not possible. Beyond API migration, AutoRetype now skips locals that already have type annotations and ignores functions whose typeck results were tainted before retyping, so pre-existing errors cannot abort the retype loop. External-module recovery borrows reparsed and original item lists as slices rather than cloning into temporary Vecs. | 2 个月前 | |
c2rust-refactor: Run cargo fmt | 11 个月前 | |
refactor: adapt rewrite and transformation passes Update rewrite, printing, literal, macro, item, ownership, retype, static, and reorganization paths for the target AST APIs. Preserve source tokens by reparsing item headers when rustc does not collect them, falling back to other strategies when reparsing is not possible. Beyond API migration, AutoRetype now skips locals that already have type annotations and ignores functions whose typeck results were tainted before retyping, so pre-existing errors cannot abort the retype loop. External-module recovery borrows reparsed and original item lists as slices rather than cloning into temporary Vecs. | 2 个月前 | |
Roll toolchain to nightly-2022-11-03 (#1614) | 5 个月前 | |
Cargo fmt entire project Been wanting to do this for awhile and we finally have everything significant merged into master. | 7 年前 | |
Restore fix_unused_unsafe transform and fix AST printing bug (#1595) | 7 个月前 | |
c2rust-refactor: Restore main binary | 11 个月前 | |
refactor: strengthen migrated rewrite regressions Make the retype string fixture self-contained and require formerly broken macro rewrites and reflected output to compile successfully. Add regressions for module resolution through aliased, namespace-sensitive, and value-only imports, external-module rewriting, and HIR literal span preservation. | 2 个月前 | |
refactor: migrate rustc analysis and driver APIs Adapt compiler queries, type reflection, substitutions, ownership analysis, resolution, type maps, and driver callbacks to the target nightly. Carry C2Rust's existing resolver-map import abstraction through the updated lowering interfaces. Module traversal follows only module resolutions, resolve_absolute selects module-capable intermediate children, and reflected HIR literals keep their source span on the enclosing AST expression. | 2 个月前 | |
refactor: remove unused flamer instrumentation | 2 个月前 | |
refactor: migrate rustc analysis and driver APIs Adapt compiler queries, type reflection, substitutions, ownership analysis, resolution, type maps, and driver callbacks to the target nightly. Carry C2Rust's existing resolver-map import abstraction through the updated lowering interfaces. Module traversal follows only module resolutions, resolve_absolute selects module-capable intermediate children, and reflected HIR literals keep their source span on the enclosing AST expression. | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 5 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 23 天前 | ||
| 10 个月前 | ||
| 11 个月前 | ||
| 2 个月前 | ||
| 11 个月前 | ||
| 1 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 7 个月前 | ||
| 2 个月前 | ||
| 11 个月前 | ||
| 2 个月前 | ||
| 5 个月前 | ||
| 7 年前 | ||
| 7 个月前 | ||
| 11 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |