| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
WalkthroughThe workspace manifest (Cargo.toml) was updated: the codegen workspace member was moved from compiler/codegen to crates/codegen, and the rustpython-codegen workspace dependency path was adjusted; the package version remains 0.4.0. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. ❤️ ShareComment @coderabbitai help to get the list of available commands and usage tips. |
Sorry, something went wrong.
|
✅ Actions performed
Review triggered.
|
Sorry, something went wrong.
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review detailsConfiguration used: Path: .coderabbit.yml
Review profile: CHILL
Plan: Pro
📥 CommitsReviewing files that changed from the base of the PR and between 609d99f and b63b29c.
⛔ Files ignored due to path filters (8)
Sorry, something went wrong.
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review detailsConfiguration used: Path: .coderabbit.yml
Review profile: CHILL
Plan: Pro
📥 CommitsReviewing files that changed from the base of the PR and between b63b29c and 07a93c7.
📒 Files selected for processing (1)
Sorry, something went wrong.
| rustpython-compiler-core = { path = "crates/compiler-core", version = "0.4.0" } | ||
| rustpython-compiler = { path = "compiler", version = "0.4.0" } | ||
| rustpython-codegen = { path = "compiler/codegen", version = "0.4.0" } | ||
| rustpython-codegen = { path = "crates/codegen", version = "0.4.0" } |
There was a problem hiding this comment.
⚠️ Potential issue | 🟡 Minor
🧩 Analysis chainVerify the directory move is complete and no stale references remain.
The workspace dependency path has been correctly updated from "compiler/codegen" to "crates/codegen". However, per the past review comments, this structural change requires verification:
🏁 Script executed:
#!/bin/bash
# Description: Verify the crates/codegen directory move is complete and comprehensive.
# Check 1: Verify crates/codegen directory exists
if [ -d "crates/codegen" ]; then
echo "✓ crates/codegen directory found"
else
echo "✗ crates/codegen directory NOT found"
exit 1
fi
# Check 2: Verify old compiler/codegen directory has been removed
if [ -d "compiler/codegen" ]; then
echo "✗ WARNING: Old compiler/codegen directory STILL EXISTS (should be removed)"
else
echo "✓ Old compiler/codegen directory removed"
fi
# Check 3: Search for remaining references to old path in code
echo ""
echo "Checking for remaining references to 'compiler/codegen' in source/config files:"
rg -n "compiler/codegen" --type rust --type toml --type yaml --type json -g '!target' -g '!.git' || echo "✓ No references found"
# Check 4: Verify the stale comment in ast.rs has been updated
echo ""
echo "Checking vm/src/stdlib/ast.rs:307 for updated path:"
if [ -f "vm/src/stdlib/ast.rs" ]; then
sed -n '305,310p' vm/src/stdlib/ast.rs
else
echo "✗ vm/src/stdlib/ast.rs not found"
fi
# Check 5: Verify crates/codegen/Cargo.toml exists
if [ -f "crates/codegen/Cargo.toml" ]; then
echo ""
echo "✓ crates/codegen/Cargo.toml found"
else
echo ""
echo "✗ crates/codegen/Cargo.toml NOT found"
fiLength of output: 580
Update the stale comment reference in vm/src/stdlib/ast.rs:307.
The Cargo.toml path update to "crates/codegen" is correct and the directory move is complete (old compiler/codegen directory has been removed). However, the comment at vm/src/stdlib/ast.rs:307 still references the old path and should be updated from compiler/codegen/src/compile.rs to crates/codegen/src/compile.rs.
🤖 Prompt for AI AgentsIn vm/src/stdlib/ast.rs around line 307, the in-file comment still references the old path "compiler/codegen/src/compile.rs"; update that comment to reference the new location "crates/codegen/src/compile.rs" so the comment matches the Cargo.toml change and the moved directory.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
ref: #6214
Summary by CodeRabbit