build: Temporarily disable compiling fuzz/utxo_snapshot.cpp with MSVC

Visual Studio 2022 version 17.12 introduced a bug that causes an
internal compiler error.

See: https://github.com/bitcoin/bitcoin/issues/31303.
This commit is contained in:
Hennadii Stepanov 2024-11-17 16:52:42 +00:00
parent ccc2d3abcd
commit b2d5361002
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -123,7 +123,10 @@ add_executable(fuzz
tx_pool.cpp
txorphan.cpp
txrequest.cpp
utxo_snapshot.cpp
# Visual Studio 2022 version 17.12 introduced a bug
# that causes an internal compiler error.
# See: https://github.com/bitcoin/bitcoin/issues/31303
$<$<VERSION_LESS:${MSVC_VERSION},1942>:utxo_snapshot.cpp>
utxo_total_supply.cpp
validation_load_mempool.cpp
vecdeque.cpp