You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config (File): The clippy configuration file. Reference: https://doc.rust-lang.org/clippy/configuration.html#configuring-clippy
113
113
output (File): The output file for clippy stdout/stderr. If None, no output will be captured
114
114
success_marker (File): A file that will be written if clippy succeeds
115
+
exit_code_file (File): A file that will contain clippy's exit code
116
+
forward_clippy_exit_code (bool): If set, let the action exit with the same exit code as clippy
115
117
cap_at_warnings (bool): If set, it will cap all reports as warnings, allowing the build to continue even with clippy failures
116
118
extra_clippy_flags (List[str]): A list of extra options to pass to clippy. If not set, every warnings will be turned into errors
117
119
error_format (str): Which error format to use. Must be acceptable by rustc: https://doc.rust-lang.org/beta/rustc/command-line-arguments.html#--error-format-control-how-errors-are-produced
"Log all unprocessed subprocess stderr in this file.",
103
109
&mut output_file,
104
110
);
111
+
flags.define_flag(
112
+
"--forward-exit-code",
113
+
"If set, the process_wrapper will exit with the same exit code as the subprocess if it had no internal errors. True by default, disable with `--forward-exit-code=false`",
114
+
&mut forward_exit_code_raw,
115
+
);
116
+
flags.define_flag(
117
+
"--exit-code-file",
118
+
"Log the exit code of the process to this file.",
119
+
&mut exit_code_file,
120
+
);
105
121
flags.define_flag(
106
122
"--rustc-quit-on-rmeta",
107
123
"If enabled, this wrapper will terminate rustc after rmeta has been emitted.",
0 commit comments