-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Unaligned bit arrays on the JavaScript target #761
base: main
Are you sure you want to change the base?
Unaligned bit arrays on the JavaScript target #761
Conversation
04fbf8e
to
a938a2d
Compare
7e599c5
to
d2bfa0c
Compare
ef7bedf
to
12b7ec3
Compare
2449e2c
to
568d07e
Compare
ffe3918
to
6bcb8c5
Compare
6bcb8c5
to
ddd0692
Compare
35317a7
to
ef7e4c7
Compare
@lpil Ready for review as the new tests now pass when run against nightly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. The conditional testing is somewhat complex, and I'm not sure the gleam
property is correct any more, so let's instead drop support for old versions of Gleam and use 1.9.0. We'll need that to be out at least for these to be released.
ef7e4c7
to
67be2fb
Compare
67be2fb
to
ec51b6b
Compare
4a43ea8
to
e672381
Compare
Great. Everything's been simplified to assume a minimum Gleam version of v1.9. The CI failures are resolved by gleam-lang/gleam#4266 (or alternatively by waiting for the v1.9 release and specifying that version in |
e672381
to
615591d
Compare
Updates to support unaligned bit arrays on the JavaScript target.
Use of nightly should be replaced with v1.9 once it's released.
Additionally, if a future release of
stdlib
(maybe v1.0?) is able to bump its minimum Gleam version to 1.9 then a bunch of JavaScript code here could be removed due to old-style bit array representations no longer needing to be supported.