Skip to content

Commit

Permalink
MSVC: treat fp and favor options as Concatenated
Browse files Browse the repository at this point in the history
Fixes #950
  • Loading branch information
Be-ing authored and glandium committed Mar 10, 2021
1 parent 7f8d643 commit 915e977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/msvc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@ msvc_args!(static ARGS: [ArgInfo<ArgData>; _] = [
msvc_flag!("experimental:module-", PassThrough), // Explicitly disabled modules.
msvc_take_arg!("experimental:preprocessor", OsString, Concatenated, PassThroughWithSuffix),
msvc_take_arg!("external:I", PathBuf, CanBeSeparated, ExternalIncludePath),
msvc_take_arg!("favor:", OsString, Separated, PassThroughWithSuffix),
msvc_take_arg!("fp:", OsString, Separated, PassThroughWithSuffix),
msvc_take_arg!("favor:", OsString, Concatenated, PassThroughWithSuffix),
msvc_take_arg!("fp:", OsString, Concatenated, PassThroughWithSuffix),
msvc_take_arg!("fsanitize-blacklist", PathBuf, Concatenated('='), ExtraHashFile),
msvc_flag!("fsyntax-only", SuppressCompilation),
msvc_take_arg!("guard:cf", OsString, Concatenated, PassThroughWithSuffix),
Expand Down

0 comments on commit 915e977

Please sign in to comment.