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

Shrink JS-allocated strings down to the correct size before passing them to Rust #3808

Merged
merged 3 commits into from
Jan 25, 2024

Commits on Jan 23, 2024

  1. Shrink JS-allocated strings down to the correct size before passing t…

    …hem to Rust
    
    Fixes rustwasm#3801.
    
    I opted to solve it this way rather than just pass the capacity to Rust
    as well because it means the allocation isn't up to 3x bigger than it
    needs to be anymore. I also removed a TODO about fixing that.
    Liamolucko committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    38c1098 View commit details
    Browse the repository at this point in the history
  2. Update reference tests

    Liamolucko committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    3f59fe9 View commit details
    Browse the repository at this point in the history
  3. Add changelog entry

    Liamolucko committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    170aba2 View commit details
    Browse the repository at this point in the history