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

Fix a bug using encodeInto truncating strings #1442

Merged
merged 1 commit into from
Apr 11, 2019

Conversation

alexcrichton
Copy link
Contributor

The last write accidentally wasn't accounted for in the returned length
of the string and we unfortunately don't have any test coverage of
encodeInto since it requires Firefox nightly right now (and doesn't
work in Node yet).

Closes #1436

The last write accidentally wasn't accounted for in the returned length
of the string and we unfortunately don't have any test coverage of
`encodeInto` since it requires Firefox nightly right now (and doesn't
work in Node yet).

Closes rustwasm#1436
@RReverser
Copy link
Member

(facepalm) sorry! I thought it was covered...

@alexcrichton
Copy link
Contributor Author

I'm realizing now we do actually have coverage of this nowadays, I think we just historically didn't! Yesterday I was confused that tests failed on the release PR and was going to investigate more today, but I realized today that encodeInto is in stable Firefox and the test failures look like this bug, so I think the recent release of Firefox 66 broke our CI and gave us coverage :)

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.

None yet

2 participants