diff options
author | Bartosz Duszel <bartosz.duszel@protonmail.com> | 2020-03-26 15:54:29 +0100 |
---|---|---|
committer | Bartosz Duszel <bartosz.duszel@protonmail.com> | 2020-03-26 15:54:29 +0100 |
commit | 8863408cada23b10c31c1fc5db358239c836bb4b (patch) | |
tree | e42a974f8ff8fdd50ac677e683b48498b81430c5 /doc/HACKING/GettingStartedRust.md | |
parent | fd6a35eb59f1d8bce6afc773d0c44937326e0034 (diff) | |
download | tor-8863408cada23b10c31c1fc5db358239c836bb4b.tar.gz tor-8863408cada23b10c31c1fc5db358239c836bb4b.zip |
doc: Updates paths to the top of the source tree.
Example:
.../doc/HACKING is now doc/HACKING
Diffstat (limited to 'doc/HACKING/GettingStartedRust.md')
-rw-r--r-- | doc/HACKING/GettingStartedRust.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/HACKING/GettingStartedRust.md b/doc/HACKING/GettingStartedRust.md index 14ab87136d..9c3101e9a6 100644 --- a/doc/HACKING/GettingStartedRust.md +++ b/doc/HACKING/GettingStartedRust.md @@ -5,7 +5,7 @@ Getting Started ----------------- Please read or review our documentation on Rust coding standards -(`.../doc/HACKING/CodingStandardsRust.md`) before doing anything. +(`doc/HACKING/CodingStandardsRust.md`) before doing anything. Please also read [the Rust Code of Conduct](https://www.rust-lang.org/en-US/conduct.html). We @@ -142,8 +142,8 @@ Adding your Rust module to Tor's build system ----------------------------------------------- 0. Your translation of the C module should live in its own crate(s) - in the `.../tor/src/rust/` directory. -1. Add your crate to `.../tor/src/rust/Cargo.toml`, in the + in the `src/rust/` directory. +1. Add your crate to `src/rust/Cargo.toml`, in the `[workspace.members]` section. 2. Add your crate's files to src/rust/include.am @@ -158,7 +158,7 @@ How to test your Rust code Everything should be tested full stop. Even non-public functionality. -Be sure to edit `.../tor/src/test/test_rust.sh` to add the name of your +Be sure to edit `src/test/test_rust.sh` to add the name of your crate to the `crates` variable! This will ensure that `cargo test` is run on your crate. @@ -177,4 +177,4 @@ Tor's integration tests should also pass: Submitting a patch ===================== -Please follow the instructions in `.../doc/HACKING/GettingStarted.md`. +Please follow the instructions in `doc/HACKING/GettingStarted.md`. |