@@ -29,19 +29,19 @@ pub enum BuildKernelError {
2929 ) ]
3030 XbuildNotFound ,
3131
32- /// Running `cargo xbuild ` failed.
32+ /// Running `cargo build ` failed.
3333 #[ error( "Kernel build failed.\n Stderr: {}" , String :: from_utf8_lossy( . stderr) ) ]
34- XbuildFailed {
34+ BuildFailed {
3535 /// The standard error output.
3636 stderr : Vec < u8 > ,
3737 } ,
3838
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
4040 #[ 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
4343 #[ error( "Output of kernel build with --message-format=json is not valid JSON:\n {0}" ) ]
44- XbuildJsonOutputInvalidJson ( json:: Error ) ,
44+ BuildJsonOutputInvalidJson ( json:: Error ) ,
4545}
4646
4747/// Represents an error that occurred when creating a bootimage.
@@ -59,7 +59,7 @@ pub enum CreateBootimageError {
5959 /// Building the bootloader failed
6060 #[ error( "Bootloader build failed.\n Stderr: {}" , String :: from_utf8_lossy( . stderr) ) ]
6161 BootloaderBuildFailed {
62- /// The `cargo xbuild ` output to standard error
62+ /// The `cargo build ` output to standard error
6363 stderr : Vec < u8 > ,
6464 } ,
6565
@@ -76,12 +76,12 @@ pub enum CreateBootimageError {
7676 error : io:: Error ,
7777 } ,
7878
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
8080 #[ 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
8383 #[ error( "Output of bootloader build with --message-format=json is not valid JSON:\n {0}" ) ]
84- XbuildJsonOutputInvalidJson ( json:: Error ) ,
84+ BuildJsonOutputInvalidJson ( json:: Error ) ,
8585}
8686
8787/// There is something wrong with the bootloader dependency.
0 commit comments