Skip to content

Commit

Permalink
msvc: passthrough argument -Qpar-
Browse files Browse the repository at this point in the history
  • Loading branch information
Audran Doublet authored and sylvestre committed Sep 7, 2023
1 parent 92038f4 commit e8213e8
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 @@ -427,6 +427,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 @@ -1948,6 +1949,8 @@ mod test {
fn test_parse_arguments_passthrough() {
let args = ovec![
"-Oy",
"-Qpar",
"-Qpar-",
"-Gw",
"-EHa",
"-Fmdictionary-map",
Expand All @@ -1971,7 +1974,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 e8213e8

Please sign in to comment.