@@ -707,7 +707,7 @@ mod desc {
707707 pub ( crate ) const parse_list: & str = "a space-separated list of strings" ;
708708 pub ( crate ) const parse_list_with_polarity: & str =
709709 "a comma-separated list of strings, with elements beginning with + or -" ;
710- pub ( crate ) const parse_autodiff: & str = "a comma separated list of settings: `Print `, `PrintTA`, `PrintAA`, `PrintPerf`, `PrintModBefore`, `PrintModAfterOpts `, `PrintModAfterEnzyme`, ` LooseTypes`, `NoModOptAfter`, `EnableFncOpt`, `NoVecUnroll `, `Inline`" ;
710+ pub ( crate ) const parse_autodiff: & str = "a comma separated list of settings: `Enable `, `PrintSteps`, ` PrintTA`, `PrintAA`, `PrintPerf`, `PrintModBefore`, `PrintModAfter `, `LooseTypes`, `RuntimeActivity `, `Inline`" ;
711711 pub ( crate ) const parse_comma_list: & str = "a comma-separated list of strings" ;
712712 pub ( crate ) const parse_opt_comma_list: & str = parse_comma_list;
713713 pub ( crate ) const parse_number: & str = "a number" ;
@@ -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,21 +2079,20 @@ 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
2085- Optional extra settings:
2086- `=PrintTA`
2087- `=PrintAA`
2088- `=PrintPerf`
2089- `=Print`
2090- `=PrintModBefore`
2091- `=PrintModAfterOpts`
2092- `=PrintModAfterEnzyme`
2093- `=LooseTypes`
2094- `=NoModOptAfter`
2095- `=EnableFncOpt`
2096- `=NoVecUnroll`
2097- `=Inline`
2098- Multiple options can be combined with commas." ) ,
2082+ "a list of autodiff flags to enable
2083+ Mandatory setting:
2084+ `=Enable`
2085+ Optional extra settings:
2086+ `=PrintTA`
2087+ `=PrintAA`
2088+ `=PrintPerf`
2089+ `=PrintSteps`
2090+ `=PrintModBefore`
2091+ `=PrintModAfter`
2092+ `=LooseTypes`
2093+ '=RuntimeActivity`
2094+ `=Inline`
2095+ Multiple options can be combined with commas." ) ,
20992096 #[ rustc_lint_opt_deny_field_access( "use `Session::binary_dep_depinfo` instead of this field" ) ]
21002097 binary_dep_depinfo: bool = ( false , parse_bool, [ TRACKED ] ,
21012098 "include artifacts (sysroot, crate dependencies) used during compilation in dep-info \
0 commit comments