-
Notifications
You must be signed in to change notification settings - Fork 34
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
Upgrade dependencies and CI config #804
Changes from all commits
e1edba8
1eb82a2
b2aec09
f3f8a72
62f4558
ad4c060
e9377fc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
mut | ||
crate | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES Clang) | |
-Wno-double-promotion | ||
-Wno-float-equal | ||
-Wno-padded | ||
-Wno-return-std-move-in-c++11 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What was this causing? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This flag does not exist any more. |
||
-Wno-switch-enum | ||
) | ||
endif() | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
# Hunter local configuration. | ||
|
||
hunter_config( | ||
GTest | ||
VERSION 1.11.0 | ||
URL https://github.com/google/googletest/archive/release-1.11.0.tar.gz | ||
SHA1 7b100bb68db8df1060e178c495f3cbe941c9b058 | ||
CMAKE_ARGS | ||
HUNTER_INSTALL_LICENSE_FILES=LICENSE | ||
gtest_force_shared_crt=TRUE | ||
) | ||
|
||
hunter_config( | ||
benchmark | ||
VERSION 1.5.3 | ||
URL https://github.com/google/benchmark/archive/v1.5.3.tar.gz | ||
SHA1 32655d8796e708439ac5d4de8aa31f00d9dbda3b | ||
VERSION 1.6.0 | ||
URL https://github.com/google/benchmark/archive/v1.6.0.tar.gz | ||
SHA1 c4d1a9135e779c5507015ccc8c428cb4aca69cef | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,7 +124,7 @@ WasmEngine::Result Wasm3Engine::execute( | |
{ | ||
unsigned ret_valid; | ||
uint64_t ret_value; | ||
IM3Function function = reinterpret_cast<IM3Function>(func_ref); | ||
auto function = reinterpret_cast<IM3Function>(func_ref); // NOLINT(performance-no-int-to-ptr) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why was this needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is probably new clang-tidy warning (as I upgraded to clang-tidy-13). Pointer to integer cast blocks some optimizations. https://clang.llvm.org/extra/clang-tidy/checks/performance-no-int-to-ptr.html. |
||
auto const result = m3_CallProper( | ||
function, static_cast<uint32_t>(args.size()), args.data(), &ret_valid, &ret_value); | ||
if (result == m3Err_none) | ||
|
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.
Also not sure why, it's a normal English word?
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.
I don't know. The codespell suggests crate -> create.