godot/tests/core/io
Rémi Verschelde 269b115d9c 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.

(cherry picked from commit 3907e53ff6)
2023-09-20 22:44:05 +02:00
..
test_config_file.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_file_access.h Improve error reporting when parsing CSV translation file 2023-06-19 12:47:44 +02:00
test_http_client.h Add HTTPClient unit tests 2023-06-21 11:53:55 +02:00
test_image.h SCons: Disable C++ exception handling 2023-09-20 22:44:05 +02:00
test_json.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_marshalls.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_pck_packer.h Standardize and Optimize blue robot SVG 2023-06-12 18:12:40 +02:00
test_resource.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_xml_parser.h [GDExtension] Expose some low level functions and String operators. 2023-01-19 12:50:49 +02:00