Skip to content

Commit fd58652

Browse files
cg_gcc: stop caring about compiling for unknown targets
1 parent 17716be commit fd58652

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_gcc/src

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_gcc/src/int.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {
400400
conv: Conv::C,
401401
can_unwind: false,
402402
};
403-
fn_abi.adjust_for_foreign_abi(self.cx, ExternAbi::C { unwind: false }).unwrap();
403+
fn_abi.adjust_for_foreign_abi(self.cx, ExternAbi::C { unwind: false });
404404

405405
let ret_indirect = matches!(fn_abi.ret.mode, PassMode::Indirect { .. });
406406

0 commit comments

Comments
 (0)