@@ -29,19 +29,19 @@ pub enum BuildKernelError {
29
29
) ]
30
30
XbuildNotFound ,
31
31
32
- /// Running `cargo xbuild ` failed.
32
+ /// Running `cargo build ` failed.
33
33
#[ error( "Kernel build failed.\n Stderr: {}" , String :: from_utf8_lossy( . stderr) ) ]
34
- XbuildFailed {
34
+ BuildFailed {
35
35
/// The standard error output.
36
36
stderr : Vec < u8 > ,
37
37
} ,
38
38
39
- /// The output of `cargo xbuild --message-format=json` was not valid UTF-8
39
+ /// The output of `cargo build --message-format=json` was not valid UTF-8
40
40
#[ error( "Output of kernel build with --message-format=json is not valid UTF-8:\n {0}" ) ]
41
- XbuildJsonOutputInvalidUtf8 ( std:: string:: FromUtf8Error ) ,
42
- /// The output of `cargo xbuild --message-format=json` was not valid JSON
41
+ BuildJsonOutputInvalidUtf8 ( std:: string:: FromUtf8Error ) ,
42
+ /// The output of `cargo build --message-format=json` was not valid JSON
43
43
#[ error( "Output of kernel build with --message-format=json is not valid JSON:\n {0}" ) ]
44
- XbuildJsonOutputInvalidJson ( json:: Error ) ,
44
+ BuildJsonOutputInvalidJson ( json:: Error ) ,
45
45
}
46
46
47
47
/// Represents an error that occurred when creating a bootimage.
@@ -59,7 +59,7 @@ pub enum CreateBootimageError {
59
59
/// Building the bootloader failed
60
60
#[ error( "Bootloader build failed.\n Stderr: {}" , String :: from_utf8_lossy( . stderr) ) ]
61
61
BootloaderBuildFailed {
62
- /// The `cargo xbuild ` output to standard error
62
+ /// The `cargo build ` output to standard error
63
63
stderr : Vec < u8 > ,
64
64
} ,
65
65
@@ -76,12 +76,12 @@ pub enum CreateBootimageError {
76
76
error : io:: Error ,
77
77
} ,
78
78
79
- /// The output of `cargo xbuild --message-format=json` was not valid UTF-8
79
+ /// The output of `cargo build --message-format=json` was not valid UTF-8
80
80
#[ error( "Output of bootloader build with --message-format=json is not valid UTF-8:\n {0}" ) ]
81
- XbuildJsonOutputInvalidUtf8 ( std:: string:: FromUtf8Error ) ,
82
- /// The output of `cargo xbuild --message-format=json` was not valid JSON
81
+ BuildJsonOutputInvalidUtf8 ( std:: string:: FromUtf8Error ) ,
82
+ /// The output of `cargo build --message-format=json` was not valid JSON
83
83
#[ error( "Output of bootloader build with --message-format=json is not valid JSON:\n {0}" ) ]
84
- XbuildJsonOutputInvalidJson ( json:: Error ) ,
84
+ BuildJsonOutputInvalidJson ( json:: Error ) ,
85
85
}
86
86
87
87
/// There is something wrong with the bootloader dependency.
0 commit comments