Skip to content

Commit

Permalink
Specify root target for rust_analyzer test
Browse files Browse the repository at this point in the history
  • Loading branch information
hlopko committed Mar 14, 2022
1 parent de726a1 commit 5b9e685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rust_analyzer/rust_analyzer_test_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function rust_analyzer_test() {

pushd "${workspace}" &> /dev/null
echo "Generating rust-project.json..."
bazel run "@rules_rust//tools/rust_analyzer:gen_rust_project"
bazel run "@rules_rust//tools/rust_analyzer:gen_rust_project" //:mylib_test
echo "Building..."
bazel build //...
echo "Testing..."
Expand Down

0 comments on commit 5b9e685

Please sign in to comment.