Skip to content

Commit

Permalink
Make note in README more obvious (google#509)
Browse files Browse the repository at this point in the history
Putting this in as an alternative to google#115.
  • Loading branch information
David Freese authored Jun 20, 2022
1 parent 4e8e7e1 commit 4a523e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,14 @@ Finally, invoke the remote library fetching function within your WORKSPACE:
```python
load("//cargo:crates.bzl", "raze_fetch_remote_crates")

# Note that this method's name depends on your gen_workspace_prefix setting.
# `raze` is the default prefix.
raze_fetch_remote_crates()
```

This tells Bazel where to get the dependencies from, and how to build them:
using the files generated into `//cargo`.

_Note that this method's name depends on your `gen_workspace_prefix` setting_.

You can depend on any _explicit_ dependencies in any Rust rule by depending on
`//cargo:your_dependency_name`.

Expand Down

0 comments on commit 4a523e1

Please sign in to comment.