aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-06-20 02:22:57 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:46:30 +0100
commit3381f522f206f3b64a973976f422b283dd9f49e6 (patch)
treec9a9d9b3d8329b915a6eaad255886650fc55bc78 /gcc
parentb3b3de1082eeeee73fec1d27ad732b8369ee1d27 (diff)
downloadgcc-3381f522f206f3b64a973976f422b283dd9f49e6.zip
gcc-3381f522f206f3b64a973976f422b283dd9f49e6.tar.gz
gcc-3381f522f206f3b64a973976f422b283dd9f49e6.tar.bz2
rust: Add -frust-name-resolution-2.0 option
This option enables an experimental name resolution algorithm. Disabled by default. gcc/rust/ChangeLog: * lang.opt: Add -frust-name-resolution-2.0 option
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/lang.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rust/lang.opt b/gcc/rust/lang.opt
index 4a6a011..2af0f1a 100644
--- a/gcc/rust/lang.opt
+++ b/gcc/rust/lang.opt
@@ -167,4 +167,8 @@ Enum(frust_compile_until) String(compilation) Value(9)
EnumValue
Enum(frust_compile_until) String(end) Value(10)
+frust-name-resolution-2.0
+Rust Var(flag_name_resolution_2_0)
+Use the temporary and experimental name resolution pipeline instead of the stable one
+
; This comment is to ensure we retain the blank line above.