Skip to content

Recover doc changes lost in #4904 #4916

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

Merged
merged 18 commits into from
Jan 8, 2018
Merged

Recover doc changes lost in #4904 #4916

merged 18 commits into from
Jan 8, 2018

Conversation

tari
Copy link
Contributor

@tari tari commented Jan 8, 2018

Fixes #4906.

tari added 18 commits January 8, 2018 15:35
Cherry-picked from 45cc30b which failed
to update the book and was replaced in
1271bb4.
Cherry-picked from 5b08b8f which failed
to update the book and was replaced in
1271bb4.
Cherry-picked from 13bb7bd which failed
to update the book and was replaced in
1271bb4.
Cherry-picked from f59eb30 which failed
to update the book and was replaced in
1271bb4.
The original failed to update the book and was lost in
1271bb4.
First added in 53012bd which failed
to update the book and was replaced in
1271bb4.
First fixed in 4848c30 which failed
to update the book and was replaced in
1271bb4.
First added in 723945c which failed
to update the book and was replaced in
1271bb4.
First fixed in 7b65667 which failed
to update the book and was replaced in
1271bb4.
First changed in 209513d which failed
to update the book and was replaced in
1271bb4.
First added in 1700346 which failed
to update the book and was replaced in
1271bb4.
First changed in e8a1ba6 which failed
to update the book and was replaced in
1271bb4.
First changed in 1240f42 which failed
to update the book and was replaced in
1271bb4.
First added in 82d563b which failed
to update the book and was replaced in
1271bb4.
First changed in f9a27fc which failed
to update the book and was replaced in
1271bb4.
First added in 72c9242 which failed
to update the book and was replaced in
1271bb4.
@alexcrichton
Copy link
Member

@bors: r+

Thanks so much for doing this @tari!

@bors
Copy link
Contributor

bors commented Jan 8, 2018

📌 Commit f235d7b has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Jan 8, 2018

⌛ Testing commit f235d7b with merge 93bf2a3...

bors added a commit that referenced this pull request Jan 8, 2018
@bors
Copy link
Contributor

bors commented Jan 8, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 93bf2a3 to master...

@bors bors merged commit f235d7b into rust-lang:master Jan 8, 2018
@tari tari deleted the doc-recovery branch January 8, 2018 20:38
Copy link
Contributor

@wking wking left a comment

Choose a reason for hiding this comment

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

Comparing a437b2e (a44612f^) with master turned up a few more issues. I've left some comments inline, and there are also:

@@ -76,6 +76,8 @@ runner = ".."
# custom flags to pass to all compiler invocations that target $triple
# this value overrides build.rustflags when both are present
rustflags = ["..", ".."]
# Whether or not to enable incremental compilation
incremental = true
Copy link
Contributor

Choose a reason for hiding this comment

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

45cc30b added this around line 102 to the [build] block, while this commit is adding it around line 80 to the [target.$triple] block. I think we need to move it.

@@ -28,6 +28,10 @@ system:
* `RUSTFLAGS` - A space-separated list of custom flags to pass to all compiler
invocations that Cargo performs. In contrast with `cargo rustc`, this is
useful for passing a flag to *all* compiler instances.
* `CARGO_INCREMENTAL` - If this is set to 1 then Cargo will force incremental
compilation to be enabled for the current compilation, and when set to 0 it
will force disabling it. If this env var isn't present then cargo's defaults
Copy link
Contributor

Choose a reason for hiding this comment

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

45cc30b had “Cargo's” instead of this commit's “cargo's”. I think we need to title-case it.

@@ -20,6 +20,12 @@ like so:
[source.my-awesome-source]
directory = "vendor"

# Git sources can optionally specify a branch/tag/rev as well
Copy link
Contributor

Choose a reason for hiding this comment

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

5b08b8f added this entry after “Available kinds of sources that can be specified” in the “Configuration” section around line 71. This commit adds the entry to an example in the top “Replacing sources” section. I think we need to shift this entry down.

bors added a commit that referenced this pull request Jan 9, 2018
doc/guide/dependencies: Add a 'rust' language marker

This had been added to the non-book docs in 2ad45a5 (#4455), despite the fact that the book didn't actually have that marker:

    $ git cat-file -p 2ad45a5:src/doc/book/src/guide/dependencies.md | grep -A2 'You can now use the'
    You can now use the `regex` library using `extern crate` in `main.rs`.

    ```

This is (along with the already-landed #4916), part of recovering from #4904.
@ehuss ehuss added this to the 1.25.0 milestone Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

doc: book migration lost some changes
5 participants