diff --git a/fuzzers/binary_only/frida_executable_libpng/Makefile.toml b/fuzzers/binary_only/frida_executable_libpng/Makefile.toml index ae798ed011..43a742785a 100644 --- a/fuzzers/binary_only/frida_executable_libpng/Makefile.toml +++ b/fuzzers/binary_only/frida_executable_libpng/Makefile.toml @@ -4,8 +4,8 @@ CARGO_TARGET_DIR = { value = "target", condition = { env_not_set = [ "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } [tasks.unsupported] diff --git a/fuzzers/binary_only/frida_libpng/Makefile.toml b/fuzzers/binary_only/frida_libpng/Makefile.toml index 9359fbfe6d..e450a292f4 100644 --- a/fuzzers/binary_only/frida_libpng/Makefile.toml +++ b/fuzzers/binary_only/frida_libpng/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "target", condition = { env_not_set = [ ] } } FUZZER_NAME = { source = "${CARGO_MAKE_RUST_TARGET_OS}", default_value = "frida_fuzzer", mapping = { "linux" = "frida_fuzzer", "macos" = "frida_fuzzer", "windows" = "frida_fuzzer.exe" } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } [tasks.unsupported] diff --git a/fuzzers/binary_only/frida_windows_gdiplus/Makefile.toml b/fuzzers/binary_only/frida_windows_gdiplus/Makefile.toml index 86fe3de52c..3e52c74e78 100644 --- a/fuzzers/binary_only/frida_windows_gdiplus/Makefile.toml +++ b/fuzzers/binary_only/frida_windows_gdiplus/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "target", condition = { env_not_set = [ ] } } FUZZER_NAME = { source = "${CARGO_MAKE_RUST_TARGET_OS}", default_value = "frida_windows_gdiplus", mapping = { "linux" = "frida_windows_gdiplus", "macos" = "frida_windows_gdiplus", "windows" = "frida_windows_gdiplus.exe" } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } [tasks.unsupported] diff --git a/fuzzers/binary_only/fuzzbench_qemu/Makefile.toml b/fuzzers/binary_only/fuzzbench_qemu/Makefile.toml index 4a53108b56..b9b8f57524 100644 --- a/fuzzers/binary_only/fuzzbench_qemu/Makefile.toml +++ b/fuzzers/binary_only/fuzzbench_qemu/Makefile.toml @@ -3,8 +3,8 @@ FUZZER_NAME = 'harness' PROJECT_DIR = { script = ["pwd"] } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } TARGET_DIR = "${CARGO_MAKE_CRATE_TARGET_DIRECTORY}" diff --git a/fuzzers/binary_only/qemu_cmin/Makefile.toml b/fuzzers/binary_only/qemu_cmin/Makefile.toml index 8fa6d1fa1a..e3c1da8cc2 100644 --- a/fuzzers/binary_only/qemu_cmin/Makefile.toml +++ b/fuzzers/binary_only/qemu_cmin/Makefile.toml @@ -1,7 +1,7 @@ [env] PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } CROSS_CC = "x86_64-linux-gnu-gcc" CROSS_CXX = "x86_64-linux-gnu-g++" diff --git a/fuzzers/binary_only/qemu_coverage/Makefile.toml b/fuzzers/binary_only/qemu_coverage/Makefile.toml index 6a37aaa315..f773145099 100644 --- a/fuzzers/binary_only/qemu_coverage/Makefile.toml +++ b/fuzzers/binary_only/qemu_coverage/Makefile.toml @@ -1,7 +1,7 @@ [env] PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } CROSS_CC = "x86_64-linux-gnu-gcc" CROSS_CXX = "x86_64-linux-gnu-g++" diff --git a/fuzzers/binary_only/qemu_launcher/Makefile.toml b/fuzzers/binary_only/qemu_launcher/Makefile.toml index 7d795cf51b..b1ca462be5 100644 --- a/fuzzers/binary_only/qemu_launcher/Makefile.toml +++ b/fuzzers/binary_only/qemu_launcher/Makefile.toml @@ -1,7 +1,7 @@ [env] PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } CROSS_CC = "x86_64-linux-gnu-gcc" CROSS_CXX = "x86_64-linux-gnu-g++" diff --git a/fuzzers/binary_only/tinyinst_simple/Makefile.toml b/fuzzers/binary_only/tinyinst_simple/Makefile.toml index 26a9261c05..de817d16cb 100644 --- a/fuzzers/binary_only/tinyinst_simple/Makefile.toml +++ b/fuzzers/binary_only/tinyinst_simple/Makefile.toml @@ -1,7 +1,7 @@ [env] PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } CARGO_TARGET_DIR = { value = "target", condition = { env_not_set = [ "CARGO_TARGET_DIR", diff --git a/fuzzers/forkserver/forkserver_libafl_cc/Makefile.toml b/fuzzers/forkserver/forkserver_libafl_cc/Makefile.toml index 3d41c8b342..a645f01591 100644 --- a/fuzzers/forkserver/forkserver_libafl_cc/Makefile.toml +++ b/fuzzers/forkserver/forkserver_libafl_cc/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } LIBAFL_CC = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/libafl_cc' LIBAFL_CXX = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/libafl_cxx' diff --git a/fuzzers/forkserver/libafl-fuzz/Makefile.toml b/fuzzers/forkserver/libafl-fuzz/Makefile.toml index 21829a21e2..936b8e6f8e 100644 --- a/fuzzers/forkserver/libafl-fuzz/Makefile.toml +++ b/fuzzers/forkserver/libafl-fuzz/Makefile.toml @@ -4,8 +4,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } FUZZER_NAME = 'libafl-fuzz' FUZZER = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/${FUZZER_NAME}' diff --git a/fuzzers/fuzz_anything/baby_no_std/Makefile.toml b/fuzzers/fuzz_anything/baby_no_std/Makefile.toml index 28c9951b7a..ea7faec74e 100644 --- a/fuzzers/fuzz_anything/baby_no_std/Makefile.toml +++ b/fuzzers/fuzz_anything/baby_no_std/Makefile.toml @@ -2,8 +2,8 @@ FUZZER_NAME = "fuzzer" PROJECT_DIR = { script = ["pwd"] } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } [tasks.unsupported] diff --git a/fuzzers/inprocess/dynamic_analysis/Makefile.toml b/fuzzers/inprocess/dynamic_analysis/Makefile.toml index 6c6a7568c8..0e72aab19f 100644 --- a/fuzzers/inprocess/dynamic_analysis/Makefile.toml +++ b/fuzzers/inprocess/dynamic_analysis/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set ] } } FUZZER_NAME = "fuzzer" PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } [tasks.unsupported] diff --git a/fuzzers/inprocess/fuzzbench/Makefile.toml b/fuzzers/inprocess/fuzzbench/Makefile.toml index 7e668a1e39..709af32642 100644 --- a/fuzzers/inprocess/fuzzbench/Makefile.toml +++ b/fuzzers/inprocess/fuzzbench/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set ] } } FUZZER_NAME = "fuzzer" PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } [tasks.unsupported] diff --git a/fuzzers/inprocess/fuzzbench_ctx/Makefile.toml b/fuzzers/inprocess/fuzzbench_ctx/Makefile.toml index 7e668a1e39..709af32642 100644 --- a/fuzzers/inprocess/fuzzbench_ctx/Makefile.toml +++ b/fuzzers/inprocess/fuzzbench_ctx/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set ] } } FUZZER_NAME = "fuzzer" PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } [tasks.unsupported] diff --git a/fuzzers/inprocess/fuzzbench_text/Makefile.toml b/fuzzers/inprocess/fuzzbench_text/Makefile.toml index 8b9008ab79..24542ef438 100644 --- a/fuzzers/inprocess/fuzzbench_text/Makefile.toml +++ b/fuzzers/inprocess/fuzzbench_text/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set ] } } FUZZER_NAME = "fuzzer" PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } [tasks.unsupported] diff --git a/fuzzers/inprocess/libfuzzer_libmozjpeg/Makefile.toml b/fuzzers/inprocess/libfuzzer_libmozjpeg/Makefile.toml index 2da143627f..30a1518b7a 100644 --- a/fuzzers/inprocess/libfuzzer_libmozjpeg/Makefile.toml +++ b/fuzzers/inprocess/libfuzzer_libmozjpeg/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } LIBAFL_CC = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/libafl_cc' LIBAFL_CXX = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/libafl_cxx' diff --git a/fuzzers/inprocess/libfuzzer_libpng/Makefile.toml b/fuzzers/inprocess/libfuzzer_libpng/Makefile.toml index 9b7c61978e..3f93bf02f1 100644 --- a/fuzzers/inprocess/libfuzzer_libpng/Makefile.toml +++ b/fuzzers/inprocess/libfuzzer_libpng/Makefile.toml @@ -6,8 +6,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } LIBAFL_CC = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/libafl_cc' LIBAFL_CXX = '${CARGO_TARGET_DIR}/${PROFILE}/libafl_cxx' diff --git a/fuzzers/inprocess/libfuzzer_libpng_accounting/Makefile.toml b/fuzzers/inprocess/libfuzzer_libpng_accounting/Makefile.toml index 20e0642934..756995c8ff 100644 --- a/fuzzers/inprocess/libfuzzer_libpng_accounting/Makefile.toml +++ b/fuzzers/inprocess/libfuzzer_libpng_accounting/Makefile.toml @@ -4,8 +4,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } FUZZER_NAME = 'fuzzer_libpng_accounting' LIBAFL_CC = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/libafl_cc' diff --git a/fuzzers/inprocess/libfuzzer_libpng_centralized/Makefile.toml b/fuzzers/inprocess/libfuzzer_libpng_centralized/Makefile.toml index a7092a97a3..302ed94189 100644 --- a/fuzzers/inprocess/libfuzzer_libpng_centralized/Makefile.toml +++ b/fuzzers/inprocess/libfuzzer_libpng_centralized/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } LIBAFL_CC = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/libafl_cc' LIBAFL_CXX = '${CARGO_TARGET_DIR}/${PROFILE}/libafl_cxx' diff --git a/fuzzers/inprocess/libfuzzer_libpng_cmin/Makefile.toml b/fuzzers/inprocess/libfuzzer_libpng_cmin/Makefile.toml index a1e83768e0..abbc4f265c 100644 --- a/fuzzers/inprocess/libfuzzer_libpng_cmin/Makefile.toml +++ b/fuzzers/inprocess/libfuzzer_libpng_cmin/Makefile.toml @@ -6,8 +6,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } LIBAFL_CC = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/libafl_cc' LIBAFL_CXX = '${CARGO_TARGET_DIR}/${PROFILE}/libafl_cxx' diff --git a/fuzzers/inprocess/libfuzzer_libpng_launcher/Makefile.toml b/fuzzers/inprocess/libfuzzer_libpng_launcher/Makefile.toml index 437a9cf7dc..852d0e1f91 100644 --- a/fuzzers/inprocess/libfuzzer_libpng_launcher/Makefile.toml +++ b/fuzzers/inprocess/libfuzzer_libpng_launcher/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } LIBAFL_CC = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/libafl_cc' LIBAFL_CXX = '${CARGO_TARGET_DIR}/${PROFILE}/libafl_cxx' diff --git a/fuzzers/inprocess/libfuzzer_libpng_norestart/Makefile.toml b/fuzzers/inprocess/libfuzzer_libpng_norestart/Makefile.toml index dbb1e2c7a8..8e2ea5eda6 100644 --- a/fuzzers/inprocess/libfuzzer_libpng_norestart/Makefile.toml +++ b/fuzzers/inprocess/libfuzzer_libpng_norestart/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } LIBAFL_CC = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/libafl_cc' LIBAFL_CXX = '${CARGO_TARGET_DIR}/${PROFILE}/libafl_cxx' diff --git a/fuzzers/inprocess/libfuzzer_libpng_tcp_manager/Makefile.toml b/fuzzers/inprocess/libfuzzer_libpng_tcp_manager/Makefile.toml index 9b7c61978e..3f93bf02f1 100644 --- a/fuzzers/inprocess/libfuzzer_libpng_tcp_manager/Makefile.toml +++ b/fuzzers/inprocess/libfuzzer_libpng_tcp_manager/Makefile.toml @@ -6,8 +6,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } LIBAFL_CC = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/libafl_cc' LIBAFL_CXX = '${CARGO_TARGET_DIR}/${PROFILE}/libafl_cxx' diff --git a/fuzzers/inprocess/libfuzzer_windows_asan/Makefile.toml b/fuzzers/inprocess/libfuzzer_windows_asan/Makefile.toml index b84eaf88d0..c5d2851dbc 100644 --- a/fuzzers/inprocess/libfuzzer_windows_asan/Makefile.toml +++ b/fuzzers/inprocess/libfuzzer_windows_asan/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "./target", condition = { env_not_set = [ "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } [tasks.unsupported] diff --git a/fuzzers/structure_aware/nautilus_sync/Makefile.toml b/fuzzers/structure_aware/nautilus_sync/Makefile.toml index 4e821c4c80..bb7a92fa14 100644 --- a/fuzzers/structure_aware/nautilus_sync/Makefile.toml +++ b/fuzzers/structure_aware/nautilus_sync/Makefile.toml @@ -5,8 +5,8 @@ CARGO_TARGET_DIR = { value = "${PROJECT_DIR}/target", condition = { env_not_set "CARGO_TARGET_DIR", ] } } PROFILE = { value = "release", condition = { env_not_set = ["PROFILE"] } } -PROFILE_DIR = { value = "release", condition = { env_not_set = [ - "PROFILE_DIR", +PROFILE_DIR = { source = "${PROFILE}", default_value = "release", mapping = { "release" = "release", "dev" = "debug" }, condition = { env_not_set = [ + "PROFILE_DIR", ] } } LIBAFL_CC = '${CARGO_TARGET_DIR}/${PROFILE_DIR}/libafl_cc' LIBAFL_CXX = '${CARGO_TARGET_DIR}/${PROFILE}/libafl_cxx'