Skip to content

Commit

Permalink
[move] Appease doc tests with move-analyzer library
Browse files Browse the repository at this point in the history
When running the CI test command:

```
cargo xtest --doc --jobs ${max_threads} --unit --changed-since "origin/$TARGET_BRANCH"
```

The move-analyzer package would fail with the message:

```
error: no library targets found in package `move-analyzer`
```

Add a placeholder library target to fix the error.

Closes: #9379
  • Loading branch information
modocache authored and bors-libra committed Oct 12, 2021
1 parent c0daa20 commit 0937324
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions language/move-analyzer/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Copyright (c) The Diem Core Contributors
// SPDX-License-Identifier: Apache-2.0

0 comments on commit 0937324

Please sign in to comment.