From 83d783d44f9dcd18aa8295aff4b7b04d0dfbbec1 Mon Sep 17 00:00:00 2001 From: xxchan Date: Mon, 20 May 2024 14:36:07 +0800 Subject: [PATCH] feat(risedev): include --timings when compiling (#16812) Signed-off-by: xxchan --- Makefile.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 219bad8da6308..7f681626ac16f 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -39,11 +39,11 @@ is_deno_udf_enabled = get_env ENABLE_DENO_UDF is_python_udf_enabled = get_env ENABLE_PYTHON_UDF if ${is_sanitizer_enabled} - set_env RISEDEV_CARGO_BUILD_EXTRA_ARGS "-Zbuild-std --target ${CARGO_MAKE_RUST_TARGET_TRIPLE}" + set_env RISEDEV_CARGO_BUILD_EXTRA_ARGS "--timings -Zbuild-std --target ${CARGO_MAKE_RUST_TARGET_TRIPLE}" set_env RISEDEV_BUILD_TARGET_DIR "${CARGO_MAKE_RUST_TARGET_TRIPLE}/" set_env RISEDEV_RUSTFLAGS "-Ctarget-cpu=native --cfg tokio_unstable -Zsanitizer=thread" else - set_env RISEDEV_CARGO_BUILD_EXTRA_ARGS "" + set_env RISEDEV_CARGO_BUILD_EXTRA_ARGS "--timings" set_env RISEDEV_BUILD_TARGET_DIR "" end