Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support isize (mimic existing usize) #1482

Merged
merged 16 commits into from
Jan 1, 2024
Merged

Support isize (mimic existing usize) #1482

merged 16 commits into from
Jan 1, 2024

Conversation

fzyzcjy
Copy link
Owner

@fzyzcjy fzyzcjy commented Dec 23, 2023

Changes

Please list issues fixed by this PR here, using format "Fixes #the-issue-number".

Checklist

  • An issue to be fixed by this PR is listed above.
  • New tests are added to ensure new features are working. End-to-end tests are usually in the ./frb_example/pure_dart example, more specifically, rust/src/api/whatever.rs and test/api/whatever_test.dart.
  • ./frb_internal precommit --mode slow (or fast) is run (it internal runs code generator, does auto formatting, etc).
  • If this PR adds/changes features, documentations (in the ./website folder) are updated.
  • CI is passing. (Operations are reproducible using corresponding ./frb_internal something commands shown in CI.)

Remark for PR creator

  • ./frb_internal --help shows utilities for development.
  • If fzyzcjy does not reply for a few days, maybe he just did not see it, so please ping him.

(cherry picked from commit e8112e5)
(cherry picked from commit 9093c9b)
(cherry picked from commit c7f97be)
@fzyzcjy
Copy link
Owner Author

fzyzcjy commented Dec 23, 2023

Wait: shekohex/allo-isolate#53

@dbsxdbsx
Copy link
Contributor

This issue reminds me of HashMap and Set.

@fzyzcjy
Copy link
Owner Author

fzyzcjy commented Dec 25, 2023

@dbsxdbsx Ah yes, feel free to PR! (As I have probably said before, just delegate to Vec<(KeyType, ValueType)>, mimicking how String delegates to Vec<u8>)

Copy link

codecov bot commented Dec 31, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a48a981) 99.20% compared to head (2ca995f) 99.22%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1482      +/-   ##
==========================================
+ Coverage   99.20%   99.22%   +0.02%     
==========================================
  Files         341      341              
  Lines       13230    13230              
==========================================
+ Hits        13125    13128       +3     
+ Misses        105      102       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fzyzcjy fzyzcjy force-pushed the master branch 3 times, most recently from 2e0e4d5 to 408fcfb Compare December 31, 2023 10:07
@fzyzcjy fzyzcjy marked this pull request as ready for review December 31, 2023 11:35
# Conflicts:
#	frb_example/pure_dart/frb_generated.h
#	frb_example/pure_dart/rust/src/frb_generated.io.rs
@fzyzcjy fzyzcjy merged commit 5aae562 into master Jan 1, 2024
76 checks passed
@fzyzcjy
Copy link
Owner Author

fzyzcjy commented Jan 1, 2024

@dbsxdbsx Map/Set are put in #1565 now

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