From 51834ff2ec4fba7fa4d62b04365c1c9c5b6700f1 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 20 Mar 2023 13:03:22 -0700 Subject: [PATCH] YJIT: Make dev_nodebug closer to dev (#7570) --- configure.ac | 1 + yjit/Cargo.toml | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index fbfbf00009..12bbcc3f73 100644 --- a/configure.ac +++ b/configure.ac @@ -3800,6 +3800,7 @@ AS_CASE(["${YJIT_SUPPORT}"], [dev_nodebug], [ rb_rust_target_subdir=dev_nodebug CARGO_BUILD_ARGS='--profile dev_nodebug --features stats,disasm' + AC_DEFINE(YJIT_STATS, 1) ], [stats], [ rb_rust_target_subdir=stats diff --git a/yjit/Cargo.toml b/yjit/Cargo.toml index d2d54edc78..c29ff41fd9 100644 --- a/yjit/Cargo.toml +++ b/yjit/Cargo.toml @@ -30,10 +30,11 @@ debug = true debug-assertions = true overflow-checks = true -[profile.stats] -inherits = "release" - [profile.dev_nodebug] +inherits = "dev" +debug = false + +[profile.stats] inherits = "release" [profile.release]