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

Update to Rust 1.77 #961

Merged
merged 9 commits into from
Mar 23, 2024
Merged

Update to Rust 1.77 #961

merged 9 commits into from
Mar 23, 2024

Conversation

Robbepop
Copy link
Member

@Robbepop Robbepop commented Mar 23, 2024

This allows us to

  • use {f32,f64}::round_ties_even in wasmi_core
  • make use of slice::chunk_by which allows us to drop an entire crates.io dependency

This PR also includes some refactoring of how libm is used in wasmi_core.

This is because we are going to use the new slice::chunk_by API in Wasmi.
This allows us to drop the slice-group-by dependency entirely.
- Now supports native {f32,f64}::round_ties_even
- Uses traits instead of modules for adapter definitions
- Pushed tests to bottom of the file and into their own test module
- Improved macro hygiene (wasn't a problem before)
Copy link

codecov bot commented Mar 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.89%. Comparing base (9a7e9d2) to head (5d27eef).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #961      +/-   ##
==========================================
+ Coverage   81.74%   81.89%   +0.15%     
==========================================
  Files         259      259              
  Lines       23954    23886      -68     
==========================================
- Hits        19580    19562      -18     
+ Misses       4374     4324      -50     

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

@Robbepop Robbepop merged commit 49bbd32 into master Mar 23, 2024
17 checks passed
@Robbepop Robbepop deleted the rf-update-to-rust-1.77 branch March 23, 2024 10:54
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.

1 participant