Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Commit a740673

Browse files
committed
fixup! build/meson: add test and benchmarks to all targets, only test build benchmark on ci
1 parent 952456f commit a740673

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/meson.build

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ test(
2828
test_srcs,
2929
implicit_include_directories: false,
3030
dependencies: test_deps,
31+
build_by_default: false,
3132
),
3233
protocol: 'gtest',
3334
)
3435

35-
freestanding_cflags = ['-ffreestanding', '-fno-exceptions', '-fno-rtti']
36+
freestanding_cflags = ['-ffreestanding']
3637
freestanding_ldflags = ['-nodefaultlibs']
3738

3839
if cxx.has_multi_arguments(
@@ -55,6 +56,11 @@ if cxx.has_multi_arguments(
5556
dependencies: [msft_proxy4_dep, libc_dep],
5657
cpp_args: freestanding_cflags + freestanding_ldflags,
5758
link_args: get_option('b_sanitize') == 'none' ? freestanding_ldflags : [],
59+
override_options: {
60+
'cpp_eh': 'none',
61+
'cpp_rtti': false,
62+
},
63+
build_by_default: false,
5864
),
5965
)
6066
endif

0 commit comments

Comments
 (0)