Closed PossiblyAShrub closed 1 year ago
Merging #11 (0c7fd2e) into master (5b0b08b) will not change coverage. The diff coverage is
n/a
.
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@ Coverage Diff @@
## master #11 +/- ##
=======================================
Coverage 89.52% 89.52%
=======================================
Files 20 20
Lines 1327 1327
=======================================
Hits 1188 1188
Misses 139 139
Impacted Files | Coverage Δ | |
---|---|---|
include/wrenbind17/allocator.hpp | 100.00% <ø> (ø) |
|
include/wrenbind17/any.hpp | 95.77% <ø> (ø) |
|
include/wrenbind17/caller.hpp | 97.10% <ø> (ø) |
|
include/wrenbind17/exception.hpp | 100.00% <ø> (ø) |
|
include/wrenbind17/foreign.hpp | 92.59% <ø> (ø) |
|
include/wrenbind17/handle.hpp | 96.15% <ø> (ø) |
|
include/wrenbind17/method.hpp | 96.00% <ø> (ø) |
|
include/wrenbind17/module.hpp | 96.96% <ø> (ø) |
|
include/wrenbind17/object.hpp | 79.41% <ø> (ø) |
|
include/wrenbind17/pop.hpp | 92.12% <ø> (ø) |
|
... and 9 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Hi @PossiblyAShrub
Thank you for the PR. I do not have M1 Mac to test it out so I will trust you :D I like that you have also included a new test tests/can_compile.cpp
. I did not think of that before.
While I was trying to run a project of mine on MacOS, I encountered some build errors from wrenbind17. They could be reproduced with the snippet below. The main problem was that each header was not self-sufficient and thus had missing includes on MacOS.
Then running
clang main.cpp -I./libs/wren/src/include -I./include -std=c++17
resulted in the following beast:Lengthy error message
Another issue was that the version of Catch2 used by wrenbind17's test suite did not support M1 macs. I've updated to the latest version which fixes the issue.
Changes
can_compile.cpp
) so we can prevent it from re-appearing in the future.