@@ -1348,17 +1348,15 @@ pub mod parse {
13481348 v. sort_unstable ( ) ;
13491349 for & val in v. iter ( ) {
13501350 let variant = match val {
1351+ "Enable" => AutoDiff :: Enable ,
13511352 "PrintTA" => AutoDiff :: PrintTA ,
13521353 "PrintAA" => AutoDiff :: PrintAA ,
13531354 "PrintPerf" => AutoDiff :: PrintPerf ,
1354- "Print " => AutoDiff :: Print ,
1355+ "PrintSteps " => AutoDiff :: PrintSteps ,
13551356 "PrintModBefore" => AutoDiff :: PrintModBefore ,
1356- "PrintModAfterOpts" => AutoDiff :: PrintModAfterOpts ,
1357- "PrintModAfterEnzyme" => AutoDiff :: PrintModAfterEnzyme ,
1357+ "PrintModAfter" => AutoDiff :: PrintModAfter ,
13581358 "LooseTypes" => AutoDiff :: LooseTypes ,
1359- "NoModOptAfter" => AutoDiff :: NoModOptAfter ,
1360- "EnableFncOpt" => AutoDiff :: EnableFncOpt ,
1361- "NoVecUnroll" => AutoDiff :: NoVecUnroll ,
1359+ "RuntimeActivity" => AutoDiff :: RuntimeActivity ,
13621360 "Inline" => AutoDiff :: Inline ,
13631361 _ => {
13641362 // FIXME(ZuseZ4): print an error saying which value is not recognized
@@ -2081,19 +2079,18 @@ options! {
20812079 assume_incomplete_release: bool = ( false , parse_bool, [ TRACKED ] ,
20822080 "make cfg(version) treat the current version as incomplete (default: no)" ) ,
20832081 autodiff: Vec <crate :: config:: AutoDiff > = ( Vec :: new( ) , parse_autodiff, [ TRACKED ] ,
2084- "a list of optional autodiff flags to enable
2082+ "a list of autodiff flags to enable
2083+ Mandatory setting:
2084+ `=Enable`
20852085 Optional extra settings:
20862086 `=PrintTA`
20872087 `=PrintAA`
20882088 `=PrintPerf`
2089- `=Print `
2089+ `=PrintSteps `
20902090 `=PrintModBefore`
2091- `=PrintModAfterOpts`
2092- `=PrintModAfterEnzyme`
2091+ `=PrintModAfter`
20932092 `=LooseTypes`
2094- `=NoModOptAfter`
2095- `=EnableFncOpt`
2096- `=NoVecUnroll`
2093+ '=RuntimeActivity`
20972094 `=Inline`
20982095 Multiple options can be combined with commas." ) ,
20992096 #[ rustc_lint_opt_deny_field_access( "use `Session::binary_dep_depinfo` instead of this field" ) ]
0 commit comments