Commits
Click on a commit to change the comparison rangeFix clippy warnings
Add #[allow(...)] attributes with explanatory comments for:
- cast_sign_loss: instruction pointers are validated non-negative
- cast_possible_wrap: lengths won't exceed i64::MAX
- cast_possible_truncation: bounds are checked before use
- float_cmp: intentional exact comparison for equality operators
- print_stderr: intentional debug output
- format_push_string: replaced with write!/writeln!
- from_iter_instead_of_collect: replaced with .collect()
- match_wildcard_for_single_variants: use explicit variant
- needless_pass_by_value: take reference instead
Also fix test utilities and benchmark:
- Add #[allow(dead_code)] to tests/common.rs
- Update benches/fib.rs to use baml_codegen instead of baml_compiler
- Replace Default::default() with HashMap::default()
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>4 days ago
by antoniosarosi Copy codegen test suite2 days ago
by antoniosarosi Reorgnaize test2 days ago
by antoniosarosi Reogranize test infra2 days ago
by antoniosarosi Remove anyhow dependency and fix rustdoc
Move test utilities from baml_vm::test and baml_codegen::tests into
baml_tests crate, removing anyhow from [dependencies] in both crates.
- Create baml_tests/src/vm.rs (test-friendly VM representations)
- Create baml_tests/src/codegen.rs (bytecode compilation test utils)
- Update imports in baml_codegen/tests/*.rs
- Fix rustdoc broken intra-doc links in baml_vm
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>2 days ago
by antoniosarosi