boostorg / stacktrace

C++ library for storing and printing backtraces.
https://boost.org/libs/stacktrace
422 stars 69 forks source link

Add a conditional rule for enabling boost_stacktrace_from_exception. … #166

Closed pdimov closed 3 months ago

pdimov commented 3 months ago

…Fixes #165.

As explained in #165, boost_stacktrace_from_exception doesn't build under macos-14, which breaks CI. Since https://github.com/boostorg/stacktrace/issues/163 claims that it never builds on non-x86 architectures, this PR changes build/Jamfile to only build boost_stacktrace_from_exception by default when the architecture is x86. The feature boost.stacktrace.from_exception can still be used to override the default, in both directions.

coveralls commented 3 months ago

Coverage Status

coverage: 86.308%. remained the same when pulling f474b81a3ca236785e37d57097e4d4b30a2b1a5e on pr/issue-165 into 39afcefb6413b773b9f464689e994698a7a2ddc8 on develop.

apolukhin commented 3 months ago

Many thanks!