about summary refs log tree commit diff
path: root/src/allocator.rs
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-07-06 07:44:47 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-07-13 17:47:06 -0500
commitb2ae24e6a1bce9197246e86281ba7d1b04084d9d (patch)
tree9f512b28c8541a25ad2c0c6b7570b43f04f150ca /src/allocator.rs
parent43388812a61d455645acfd3736ab41c0b2f259e3 (diff)
downloadrust-b2ae24e6a1bce9197246e86281ba7d1b04084d9d.tar.gz
rust-b2ae24e6a1bce9197246e86281ba7d1b04084d9d.zip
Rename `debugging_opts` to `unstable_opts`
This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`).
Rename it to be more clear.
Diffstat (limited to 'src/allocator.rs')
-rw-r--r--src/allocator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/allocator.rs b/src/allocator.rs
index c3b99b64263..6d321c7b298 100644
--- a/src/allocator.rs
+++ b/src/allocator.rs
@@ -24,7 +24,7 @@ pub(crate) fn codegen(
             unwind_context,
             kind,
             tcx.lang_items().oom().is_some(),
-            tcx.sess.opts.debugging_opts.oom,
+            tcx.sess.opts.unstable_opts.oom,
         );
         true
     } else {