Skip to content

test: Mark env_adler32 noexcept#830

Merged
axic merged 1 commit intomasterfrom
noexcept
Jun 21, 2022
Merged

test: Mark env_adler32 noexcept#830
axic merged 1 commit intomasterfrom
noexcept

Conversation

@axic
Copy link
Member

@axic axic commented Jun 17, 2022

No description provided.

@codecov
Copy link

codecov bot commented Jun 17, 2022

Codecov Report

Merging #830 (3581284) into master (3581284) will not change coverage.
The diff coverage is n/a.

❗ Current head 3581284 differs from pull request most recent head a085fc3. Consider uploading reports for the commit a085fc3 to get more accurate results

@@           Coverage Diff           @@
##           master     #830   +/-   ##
=======================================
  Coverage   99.27%   99.27%           
=======================================
  Files          88       88           
  Lines       13296    13296           
=======================================
  Hits        13200    13200           
  Misses         96       96           
Flag Coverage Δ
rust 98.48% <0.00%> (ø)
spectests 89.92% <0.00%> (ø)
unittests 99.22% <0.00%> (ø)
unittests-32 99.32% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

wabt::interp::FuncType{{wabt::Type::I32, wabt::Type::I32}, {wabt::Type::I32}},
[](wabt::interp::Thread& thread, const wabt::interp::Values& args,
wabt::interp::Values& results, wabt::interp::Trap::Ptr*) -> wabt::Result {
wabt::interp::Values& results, wabt::interp::Trap::Ptr*) noexcept -> wabt::Result {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this is not a good ideas as wabt helpers may throw?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure. Do they?

Copy link
Member Author

@axic axic Jun 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GetCallerInstance() indexes a vector (with local bounds checking), memories(), UnsafeData, ByteSize, and Set seems fine. So I guess it is ok.

@axic axic merged commit 2bd08ab into master Jun 21, 2022
@axic axic deleted the noexcept branch June 21, 2022 08:04
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.

2 participants