-
Notifications
You must be signed in to change notification settings - Fork 182
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
Ship binaries for Dart #4689
Comments
Just a few notes: https://github.com/mosuem/generate_icu4x_binaries is where I am currently testing the binary generation (based on your proof of concept), which is then consumed by https://github.com/dart-lang/i18n/blob/17757fc7293fdbbd5e2942135e6867defb8496ec/pkgs/intl4x/build.dart. For the open questions:
I am not sure I understand - the
Yes. Currently, the "escape hatch" is provided through the
There is an open issue on a better way of passing these parameters than env variables, possibly using Darts |
Ah yes that issue is what I meant. |
Conclusion:
|
...
AI(@robertbastian): - put locale ops behind a feature in icu_capi
|
For Dart we need to ship precompiled binaries, as there is not Rust compiler available in the Dart toolchain (and no appetite to add one). However, the pub.dev package manager has a size limit of 100MB per package, which would be enough if we didn't have to ship separate binaries for all 27 supported platforms.
This means we will need some other mechanism for distributing binaries. Options include:
In the library, we add
build.dart
build script, which will download the binary from the source we're going with. Some open questions here are@mosuem
The text was updated successfully, but these errors were encountered: