Skip to content

Commit

Permalink
tests: build: rust: output CONFIG_RUST failure to DESC
Browse files Browse the repository at this point in the history
Make sure the problems with getting CONFIG_RUST to be set
are displayed in short summary / patchwork. Previously
we would get a failure and a bare "Link".

Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
kuba-moo committed Dec 18, 2024
1 parent 1d508e5 commit 471071a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/patch/build_clang_rust/build_clang_rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ prep_config() {
config_rust=$(./scripts/config --file $output_dir/.config --state CONFIG_RUST)

if [ $config_rust != "y" ]; then
echo Unable to enable CONFIG_RUST
echo "CONFIG_RUST not set in generated config" >& $DESC_FD
exit 1
fi
}
Expand Down

0 comments on commit 471071a

Please sign in to comment.