Skip to content

fix: support Flutter web compilation - #1

Closed
timcreatedit wants to merge 1 commit into
mainfrom
fix/flutter-web-support
Closed

fix: support Flutter web compilation#1
timcreatedit wants to merge 1 commit into
mainfrom
fix/flutter-web-support

Conversation

@timcreatedit

Copy link
Copy Markdown
Owner

Summary

  • use platform-specific integer limits so JavaScript builds avoid unsupported 64-bit literals while native parsing retains its existing limit
  • preserve the native FNV-1a hash API and add an exact cross-platform field hash for generated decoders
  • add coverage ensuring runtime and generated-code hashes stay aligned

Verification

  • dart analyze --fatal-infos --fatal-warnings <changed files>
  • dart test in crimson_test (127 tests)
  • dart compile js example/main.dart
  • flutter build web in a temporary Flutter app consuming Crimson by path (including successful Wasm dry run)

@timcreatedit

Copy link
Copy Markdown
Owner Author

Superseded by the organization-owned fork PR: time-loop#1. ClickUp now consumes the Time Loop repository.

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