Skip to content

Commit

Permalink
Add "incompatible target" messages, for example when building an
Browse files Browse the repository at this point in the history
ARM-only target with --cpu=x86.

Support work for #10945.

PiperOrigin-RevId: 339113675
  • Loading branch information
gregestren authored and copybara-github committed Oct 26, 2020
1 parent d5f96eb commit b78f2ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/protobuf/failure_details.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1040,6 +1040,7 @@ message FailAction {
INCORRECT_TOOLCHAIN = 6 [(metadata) = { exit_code: 1 }];
FRAGMENT_CLASS_MISSING = 7 [(metadata) = { exit_code: 1 }];
reserved 8, 9; // For internal use
CANT_BUILD_INCOMPATIBLE_TARGET = 10 [(metadata) = { exit_code: 1 }];
}

Code code = 1;
Expand Down Expand Up @@ -1135,6 +1136,7 @@ message Analysis {
INVALID_EXECUTION_PLATFORM = 16 [(metadata) = { exit_code: 1 }];
ASPECT_CREATION_FAILED = 17 [(metadata) = { exit_code: 1 }];
CONFIGURED_VALUE_CREATION_FAILED = 18 [(metadata) = { exit_code: 1 }];
INCOMPATIBLE_TARGET_REQUESTED = 19 [(metadata) = { exit_code: 1 }];
}

Code code = 1;
Expand Down

0 comments on commit b78f2ef

Please sign in to comment.