fix: use diagnostic instead of compilermessage giving rendered ansi logs during hotpatch (#4123)
* fix: use diagnostic instead of compilermessage giving rendered ansi logs during hotpatch * no need for builder
This commit is contained in:
1 parent
0a18c12c32
commit
b610ab372c
6 files changed
+24
-14
No files matched your search
@@ -1,4 +1,4 @@
|
||||
use cargo_metadata::CompilerMessage;
|
||||
use cargo_metadata::{diagnostic::Diagnostic, CompilerMessage};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::path::PathBuf;
|
||||
|
||||
@@ -35,6 +35,9 @@ pub enum StructuredOutput {
|
||||
CargoOutput {
|
||||
message: CompilerMessage,
|
||||
},
|
||||
RustcOutput {
|
||||
message: Diagnostic,
|
||||
},
|
||||
BundleOutput {
|
||||
bundles: Vec<PathBuf>,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user