We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62a57d0 commit 4eb7588Copy full SHA for 4eb7588
1 file changed
src/global_state/qihe.rs
@@ -420,9 +420,11 @@ fn prepare_qihe_compile_command(
420
}
421
command.args(&compile_input.files).arg("-o").arg(ir_path);
422
423
- let manifest_slang_args = auto_configure_manifest_args
424
- .then_some(compile_input.manifest_slang_args.as_slice())
425
- .unwrap_or(&[]);
+ let manifest_slang_args = if auto_configure_manifest_args {
+ compile_input.manifest_slang_args.as_slice()
+ } else {
426
+ &[]
427
+ };
428
let has_slang_args = !user_slang_args.is_empty() || !manifest_slang_args.is_empty();
429
if has_slang_args {
430
command.arg("--").args(&user_slang_args).args(manifest_slang_args);
0 commit comments