summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2022-07-29 15:07:06 -0700
committerJohn Hawthorn <john@hawthorn.email>2022-07-29 16:32:14 -0700
commit0e85586ecc983ebb4541cd046949428d1ef5d635 (patch)
tree20881720fd3c802c63b28f9eb4dd0b5a8c7b5da4 /yjit
parentfbd24793cb7be2429edafcf11d7dd4a7d11f5c95 (diff)
Add --enable-yjit=dev_nodebug configure option
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6105
Diffstat (limited to 'yjit')
-rw-r--r--yjit/Cargo.toml3
-rw-r--r--yjit/yjit.mk1
2 files changed, 4 insertions, 0 deletions
diff --git a/yjit/Cargo.toml b/yjit/Cargo.toml
index c7ff31ec2c..4641de205f 100644
--- a/yjit/Cargo.toml
+++ b/yjit/Cargo.toml
@@ -33,6 +33,9 @@ overflow-checks = true
[profile.stats]
inherits = "release"
+[profile.dev_nodebug]
+inherits = "release"
+
[profile.release]
# NOTE: --enable-yjit builds use `rustc` without going through Cargo. You
# might want to update the `rustc` invocation if you change this profile.
diff --git a/yjit/yjit.mk b/yjit/yjit.mk
index efd4ff0c40..9e3155deb3 100644
--- a/yjit/yjit.mk
+++ b/yjit/yjit.mk
@@ -33,6 +33,7 @@ yjit-static-lib-cargo:
$(CARGO) $(CARGO_VERBOSE) build $(CARGO_BUILD_ARGS)
yjit-static-lib-dev: yjit-static-lib-cargo
+yjit-static-lib-dev_nodebug: yjit-static-lib-cargo
yjit-static-lib-stats: yjit-static-lib-cargo
# This PHONY prerequisite makes it so that we always run cargo. When there are