From 2f9d4d8e0d9dce5d06154929025e2c1fc0182a71 Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Wed, 10 Feb 2021 15:42:43 +0200 Subject: [PATCH] Add a missing `err.emit();` for the "spirv-opt failed" error. (#412) --- crates/rustc_codegen_spirv/src/link.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/rustc_codegen_spirv/src/link.rs b/crates/rustc_codegen_spirv/src/link.rs index f82336cc74..2d22ebd659 100644 --- a/crates/rustc_codegen_spirv/src/link.rs +++ b/crates/rustc_codegen_spirv/src/link.rs @@ -202,6 +202,7 @@ fn do_spirv_opt(sess: &Session, spv_binary: Vec, filename: &Path) -> Vec