Skip to content

Commit

Permalink
Accept /fsanitize=address as a passthrough option for MSVC (#1518)
Browse files Browse the repository at this point in the history
  • Loading branch information
randombit committed Dec 31, 2022
1 parent 0d62517 commit dd418ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/msvc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ msvc_args!(static ARGS: [ArgInfo<ArgData>; _] = [
msvc_take_arg!("favor:", OsString, Concatenated, PassThroughWithSuffix),
msvc_take_arg!("fp:", OsString, Concatenated, PassThroughWithSuffix),
msvc_take_arg!("fsanitize-blacklist", PathBuf, Concatenated('='), ExtraHashFile),
msvc_flag!("fsanitize=address", PassThrough),
msvc_flag!("fsyntax-only", SuppressCompilation),
msvc_take_arg!("guard:cf", OsString, Concatenated, PassThroughWithSuffix),
msvc_flag!("homeparams", PassThrough),
Expand Down

0 comments on commit dd418ab

Please sign in to comment.