aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-06-20 02:22:57 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-06-26 15:36:01 +0000
commit4c07c94212e2cc43bf4c01eb195347821791659b (patch)
treed3c53266936670c7bd0ac62131ae798314c5dc95 /gcc
parentac43e5899ccb83b4d11ce1ae5e441f7b3734b9b2 (diff)
downloadgcc-4c07c94212e2cc43bf4c01eb195347821791659b.zip
gcc-4c07c94212e2cc43bf4c01eb195347821791659b.tar.gz
gcc-4c07c94212e2cc43bf4c01eb195347821791659b.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 537b93f..ed20fb5 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.