Skip to content

Conversation

@jqnatividad
Copy link
Collaborator

for platforms like s390x

for platforms like s390x
@jqnatividad jqnatividad requested a review from Copilot October 12, 2025 11:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds big-endian platform support by conditionally using serde_json instead of simd_json on big-endian architectures like s390x, addressing endianness compatibility issues.

  • Adds conditional compilation attributes to use serde_json on big-endian platforms
  • Replaces simd_json usage with serde_json for JSON parsing and serialization on big-endian systems
  • Refactors existing JSON handling code to support both endianness types

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/util.rs Adds conditional JSON parsing/serialization for big-endian platforms in stats record processing and CSV to JSONL conversion
src/cmd/stats.rs Updates stats argument deserialization and JSON output generation with endian-specific handling

@jqnatividad jqnatividad merged commit 4d47516 into master Oct 12, 2025
16 checks passed
@jqnatividad jqnatividad deleted the big-endian-handling branch October 12, 2025 11:49
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.

2 participants