godot/tests/core
Rémi Verschelde 3907e53ff6
SCons: Disable C++ exception handling
Upon investigating the extremely slow MSVC build times in #80513, I noticed
that while Godot policy is to never use exceptions, we weren't enforcing it
with compiler flags, and thus still included exception handling code and
stack unwinding.

This is wasteful on multiple aspects:

- Binary size: Around 20% binary size reduction with exceptions disabled
  for both MSVC and GCC binaries.
- Compile time:
  * More than 50% build time reduction with MSVC.
  * 10% to 25% build time reduction with GCC + LTO.
- Performance: Possibly, needs to be benchmarked.

Since users may want to re-enable exceptions in their own thirdparty code
or the libraries they compile with Godot, this behavior can be toggled with
the `disable_exceptions` SCons option, which defaults to true.
2023-08-16 10:23:34 +02:00
..
config Fix ProjectSettings::localize_path for Windows paths 2023-07-26 16:18:31 +02:00
input Added tests to InputEvent 2023-07-17 17:48:34 +02:00
io SCons: Disable C++ exception handling 2023-08-16 10:23:34 +02:00
math Merge pull request #76936 from clayjohn/revert-hsl 2023-05-12 10:03:21 +02:00
object Make EditorInterface accessible as a singleton 2023-08-09 16:01:31 +02:00
os One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
string Merge pull request #80362 from Calinou/string-use-unicode-compiletime 2023-08-07 14:55:58 +02:00
templates Fix PagedArray.merge_unordered() dropping pages 2023-02-16 19:58:27 -05:00
threads Revert "Implement parallel foreach() for easier multithreading" 2023-07-27 13:41:27 +02:00
variant Fix range error for Array.slice 2023-07-07 23:19:42 +02:00
test_crypto.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_hashing_context.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_time.h Explicitly cast to Variant's int type in Time tests 2023-02-20 14:46:21 -06:00