]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rust: Add -frust-name-resolution-2.0 option
authorArthur Cohen <arthur.cohen@embecosm.com>
Tue, 20 Jun 2023 00:22:57 +0000 (02:22 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:46:30 +0000 (18:46 +0100)
This option enables an experimental name resolution algorithm. Disabled
by default.

gcc/rust/ChangeLog:

* lang.opt: Add -frust-name-resolution-2.0 option

gcc/rust/lang.opt

index 4a6a011c6603c3d6b2313aa91ddee1b8ab9f3c18..2af0f1a9bf93817521ad66341e4beca16708aa63 100644 (file)
@@ -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.