File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -102,13 +102,12 @@ template("chip_pw_fuzz_target") {
102
102
" configs" ,
103
103
])
104
104
105
- # TODO see what to do with this, I added it to try running FuzzTest with compatibility mode, since this is the mode supported by OSS-fuzz
105
+ # TODO: remove this
106
+ # just a test for running FuzzTest with libfuzzer-compatibility mode, since this is the mode supported by OSS-fuzz
106
107
# defines = [
107
- # "FUZZTEST_COMPATIBILITY_MODE=libfuzzer",
108
+ # "FUZZTEST_COMPATIBILITY_MODE=libfuzzer",
108
109
# "MAKE_BUILD_TYPE=RelWithDebug",
109
- # ]
110
-
111
- # cflags = [ "-Wno-error=format-nonliteral" ] CAN NOT USE since strict_warning defines the opposite
110
+ # ]
112
111
113
112
sources = [ _test ]
114
113
output_dir = _test_output_dir
Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ gcc_toolchain("chip_pw_fuzztest") {
48
48
current_cpu = host_cpu
49
49
is_clang = true
50
50
51
+ # the upstream pigweed host_clang toolchain defines a default sysroot, which results in build errors
52
+ # since it does not include SSL and is supposed to be minimal by design.
53
+ # by removing this default config, we will use the system's libs. Otherwise we can define our own sysroot.
54
+ remove_default_configs = [ " $dir_pw_toolchain /host_clang:linux_sysroot" ]
55
+
51
56
# pw_toolchain_FUZZING_ENABLED = true
52
57
treat_warnings_as_errors = false
53
58
You can’t perform that action at this time.
0 commit comments