-
Notifications
You must be signed in to change notification settings - Fork 172
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 tooling.md #166
Update tooling.md #166
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,15 +15,13 @@ tested. | |
- OpenOCD >=0.8. Tested versions: v0.9.0 and v0.10.0 | ||
- GDB with ARM support. Version 7.12 or newer highly recommended. Tested | ||
versions: 7.10, 7.11, 7.12 and 8.1 | ||
- [OPTIONAL] `git` OR | ||
[`cargo-generate`](https://github.com/ashleygwilliams/cargo-generate). If you | ||
have neither installed then don't worry about installing either. | ||
- [`cargo-generate`](https://github.com/ashleygwilliams/cargo-generate) and `git`. | ||
These tools are optional but will make it easier to follow along with the book. | ||
|
||
The text below explains why we are using these tools. Installation instructions | ||
can be found on the next page. | ||
|
||
## `cargo-generate` OR `git` | ||
|
||
## Using a template for the first project ## | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All headings are named after tools. With this change that would no longer be the case. I would prefer to keep the symmetry. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By the way, maybe write something about rustc too .. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The current text matches what's listed in the bullet list. The "other tools" in your proposal makes it unclear whether "other tools" means just git or all / some of the other tools in the bullet list. Personally, I think the current text is fine. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Rust developers (the target audience of this book) are familiar with rustc / Cargo; I don't think it's necessary to add a section for them. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i just find it strange that the choice now is between |
||
Bare metal programs are non-standard (`no_std`) Rust programs that require some | ||
fiddling with the linking process to get the memory layout of the program | ||
right. All this requires unusual files (like linker scripts) and unusual | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems fine to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, this should be "(..) or
git
". You don't need both tools; one of them suffices.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Later on in the book
cargo generate --git
command is used. We can putor
here when comes with it's own git api and doesn't rely on standalone git. I assumed it relies on standalone git.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From this wording i conclude that standalone git is not required https://github.com/rust-lang/git2-rs#version-of-libgit2 (dependency of cargo generate)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cargo-generate
doesn't shell out togit
; it uses libgit.