🧹 [Code Health] Fix workspace compilation errors and clippy warnings by Tcode-Motion · Pull Request #55 · Tcode-Motion/techscript · GitHub
Skip to content

🧹 [Code Health] Fix workspace compilation errors and clippy warnings - #55

Merged
Tcode-Motion merged 2 commits into
mainfrom
fix-compilation-and-clippy-4585464244175969887
Aug 30, 2026
Merged

🧹 [Code Health] Fix workspace compilation errors and clippy warnings#55
Tcode-Motion merged 2 commits into
mainfrom
fix-compilation-and-clippy-4585464244175969887

Conversation

@Tcode-Motion

Copy link
Copy Markdown
Owner

🎯 What:

  • Fixed compilation errors in stdlib caused by mismatched braces and incorrect logic in sqlite.rs.
  • Reverted breaking dependency version bumps (e.g., bincode 3.0 -> 1.3.3, ureq 3.4 -> 2.9, zip 8.6 -> 0.6, llvm-sys 221 -> 180) to restore workspace build stability.
  • Fixed LLVM code generation where TerminatorKind::Throw panicked by compiling a call to ts_throw with the correct boxed argument.
  • Addressed multiple clippy warnings, including missing const thread locals in runtime/native_runtime/src/lib.rs and unused imports.

💡 Why:
The repository was in a broken state due to a bad merge/commit that introduced syntax errors in sqlite.rs and arbitrarily bumped core dependencies, breaking APIs.

✅ Verification:

  • cargo check --workspace passes cleanly.
  • LLVM_SYS_180_PREFIX=/usr/lib/llvm-18 cargo test --workspace passes all tests.
  • LLVM_SYS_180_PREFIX=/usr/lib/llvm-18 cargo clippy --workspace --all-targets --all-features runs cleanly without major unaddressed warnings.

✨ Result:
The TechScript repository is once again buildable, testable, and completely clean of regressions introduced in the prior commit.


PR created automatically by Jules for task 4585464244175969887 started by @Tcode-Motion

Co-authored-by: Tcode-Motion <188012755+Tcode-Motion@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

…itory

Co-authored-by: Tcode-Motion <188012755+Tcode-Motion@users.noreply.github.com>
@Tcode-Motion
Tcode-Motion marked this pull request as ready for review August 30, 2026 14:19
@Tcode-Motion
Tcode-Motion merged commit ac766fa into main Aug 30, 2026
6 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.

1 participant