Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setup instructions #254

Merged
merged 2 commits into from
Oct 8, 2019
Merged

Update setup instructions #254

merged 2 commits into from
Oct 8, 2019

Conversation

laurentlb
Copy link
Contributor

  • The commit hash was not compatible with recent versions of Bazel
  • Update the dependency on skylib
  • Add the load statement for http_archive, for easier copy-pasting
  • Add an example of use (users shouldn't have to guess the load label)
  • Update the version requirement (0.25.0 can't build the code)

- The commit hash was not compatible with recent versions of Bazel
- Update the dependency on skylib
- Add the load statement for `http_archive`, for easier copy-pasting
- Add an example of use (users shouldn't have to guess the load label)
- Update the version requirement (0.25.0 can't build the code)
README.md Outdated
Comment on lines 68 to 79
## Example

Here's an example to build a Hello World:

```python
load("@io_bazel_rules_rust//rust:rust.bzl", "rust_binary")

rust_binary(
name = "rs",
srcs = ["hello.rs"],
)
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am doubtful this is useful. There is link for specific rules that have individual examples that are more explanatory.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

When I tried the rule, I didn't find the label to load in the documentation. But now, I see it in the examples.

@damienmg
Copy link
Collaborator

damienmg commented Oct 7, 2019

Except the example the change LGTM. Maybe we could have the documentation discussion in a separate PR?

@damienmg damienmg merged commit 29acd8f into bazelbuild:master Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants