Skip to content

Commit

Permalink
msvc: passthrough argument -Qpar- (#1834)
Browse files Browse the repository at this point in the history
Co-authored-by: Audran Doublet <audran.doublet@sinequa.com>
  • Loading branch information
AudranDoublet and Audran Doublet authored Apr 30, 2024
1 parent dd37a7f commit 4e79d9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/compiler/msvc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ msvc_args!(static ARGS: [ArgInfo<ArgData>; _] = [
msvc_flag!("Qfast_transcendentals", PassThrough),
msvc_flag!("Qimprecise_fwaits", PassThrough),
msvc_flag!("Qpar", PassThrough),
msvc_flag!("Qpar-", PassThrough),
msvc_flag!("Qsafe_fp_loads", PassThrough),
msvc_flag!("Qspectre", PassThrough),
msvc_flag!("Qspectre-load", PassThrough),
Expand Down Expand Up @@ -1986,6 +1987,8 @@ mod test {
fn test_parse_arguments_passthrough() {
let args = ovec![
"-Oy",
"-Qpar",
"-Qpar-",
"-Gw",
"-EHa",
"-Fmdictionary-map",
Expand All @@ -2009,7 +2012,7 @@ mod test {
assert!(!common_args.is_empty());
assert_eq!(
common_args,
ovec!("-Oy", "-Gw", "-EHa", "-Fmdictionary-map")
ovec!("-Oy", "-Qpar", "-Qpar-", "-Gw", "-EHa", "-Fmdictionary-map")
);
}

Expand Down

0 comments on commit 4e79d9e

Please sign in to comment.