YJIT: Make dev_nodebug closer to dev (#7570)

This commit is contained in:
Takashi Kokubun 2023-03-20 13:03:22 -07:00 committed by GitHub
parent 27ecf3261e
commit 51834ff2ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2023-03-20 20:03:44 +00:00
Merged-By: k0kubun <takashikkbn@gmail.com>
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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]