Skip to content

fix: support Rust char formatting - #275

Merged
swananan merged 1 commit into
mainfrom
fix/rust-char-formatting
Aug 24, 2026
Merged

fix: support Rust char formatting#275
swananan merged 1 commit into
mainfrom
fix/rust-char-formatting

Conversation

@swananan

Copy link
Copy Markdown
Owner

Summary

  • recognize four-byte DW_ATE_UTF values as Rust char data throughout classification and capture
  • format valid scalars with Rust-style quoting and escapes, with explicit markers for invalid data
  • add runtime e2e coverage for ASCII, Unicode, escaped chars, and char arrays, plus user documentation

Validation

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test -p ghostscope-protocol --all-features --lib (87 passed)
  • cargo test -p ghostscope-compiler --all-features --lib (171 passed)
  • runner e2e test_rust_script_print_char_values (job e542742c4d4e, passed)

The full standard host e2e run encountered the existing test_cross_type_comparisons_local failure. The same failure was reproduced with an isolated rerun on this branch and on a clean latest-main checkout (baseline job e9e9ea6134f1), so it is unrelated to this change.

@swananan
swananan merged commit 8f4ee7e into main Aug 24, 2026
9 checks passed
@swananan
swananan deleted the fix/rust-char-formatting branch August 24, 2026 16:02
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