• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Chia-Network / chiapos / 10818885919

11 Sep 2024 06:27PM UTC coverage: 79.028% (-0.02%) from 79.051%
10818885919

push

github

web-flow
Set `_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR` when building on windows (#449)

There was a change in VS 2022 to make VS more compliant with the C++
standard and make std::mutex a constexpr.
However, this causes problems if an older version of the runtime is
loaded first - in which case, the chiapos wheel will often crash.


https://stackoverflow.com/questions/78598141/first-stdmutexlock-crashes-in-application-built-with-latest-visual-studio

Set `_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR` in order to disable the newer
(albeit more compliant) code and use the more compatible version

3497 of 4425 relevant lines covered (79.03%)

15527457.32 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

94.87
/src/encoding.hpp


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc