about summary refs log tree commit diff
path: root/compiler/rustc_interface
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2023-08-17 12:07:22 +0100
committerGary Guo <gary@garyguo.net>2023-08-18 17:44:04 +0100
commita7633b8a71d163a7392f4ef2cb80ea7076302f71 (patch)
tree95de5e4dfcddbee97537504bbbd795f75c50a53b /compiler/rustc_interface
parent0f7f6b70617fbcda9f73755fa9b560bfb0a588eb (diff)
downloadrust-a7633b8a71d163a7392f4ef2cb80ea7076302f71.tar.gz
rust-a7633b8a71d163a7392f4ef2cb80ea7076302f71.zip
Add an (perma-)unstable option to disable vtable vptr
This flag is intended for evaluation of trait upcasting
space cost for embedded use cases.
Diffstat (limited to 'compiler/rustc_interface')
-rw-r--r--compiler/rustc_interface/src/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index e3d66d18388..b53ba251bcd 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -807,6 +807,7 @@ fn test_unstable_options_tracking_hash() {
     tracked!(no_jump_tables, true);
     tracked!(no_link, true);
     tracked!(no_profiler_runtime, true);
+    tracked!(no_trait_vptr, true);
     tracked!(no_unique_section_names, true);
     tracked!(oom, OomStrategy::Panic);
     tracked!(osx_rpath_install_name, true);