Skip to content

Commit b8c26a1

Browse files
aguinetaguinetqb
andauthored
MSVC: add /Brepro to the list of known args (#980)
Co-authored-by: Adrien Guinet <[email protected]>
1 parent e39d7c6 commit b8c26a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/msvc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ macro_rules! msvc_args {
254254
// https://docs.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-alphabetically?view=vs-2019
255255
msvc_args!(static ARGS: [ArgInfo<ArgData>; _] = [
256256
msvc_flag!("?", SuppressCompilation),
257+
msvc_flag!("Brepro", PassThrough),
257258
msvc_flag!("C", PassThrough), // Ignored unless a preprocess-only flag is specified.
258259
msvc_take_arg!("D", OsString, CanBeSeparated, PreprocessorArgument),
259260
msvc_flag!("E", SuppressCompilation),

0 commit comments

Comments
 (0)