Skip to content

Commit 1c266d4

Browse files
authored
Merge branch 'master' into compiler-src.md
2 parents 876f06b + afdad07 commit 1c266d4

File tree

132 files changed

+4959
-2059
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+4959
-2059
lines changed

Diff for: .github/workflows/ci.yml

-6
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ jobs:
4242
~/book/linkcheck
4343
key: ${{ runner.os }}-${{ hashFiles('./book/linkcheck') }}
4444

45-
- name: Check line lengths
46-
if: github.event_name != 'push'
47-
run: |
48-
shopt -s globstar
49-
MAX_LINE_LENGTH=100 bash ci/lengthcheck.sh src/**/*.md
50-
5145
- name: Install latest nightly Rust toolchain
5246
if: steps.mdbook-cache.outputs.cache-hit != 'true'
5347
run: |

Diff for: README.md

-19
Original file line numberDiff line numberDiff line change
@@ -64,25 +64,6 @@ We use `mdbook-linkcheck` to validate URLs included in our documentation.
6464
We use `mdbook-toc` to auto-generate TOCs for long sections. You can invoke the preprocessor by
6565
including the `<!-- toc -->` marker at the place where you want the TOC.
6666

67-
### Pre-commit script
68-
69-
We also test that line lengths are less than 100 columns. To test this locally,
70-
you can run `ci/lengthcheck.sh`.
71-
72-
You can also set this to run automatically.
73-
74-
On Linux:
75-
76-
```bash
77-
ln -s ../../ci/lengthcheck.sh .git/hooks/pre-commit
78-
```
79-
80-
On Windows:
81-
82-
```powershell
83-
New-Item -Path .git/hooks/pre-commit -ItemType HardLink -Value $(Resolve-Path ci/lengthcheck.sh)
84-
```
85-
8667
## How to fix toolstate failures
8768

8869
> **NOTE**: Currently, we do not track the rustc-dev-guide toolstate due to

Diff for: book.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ exclude = [
4040
"play\\.rust-lang\\.org",
4141
"tomlee\\.co",
4242
"marketplace\\.visualstudio\\.com",
43-
"objects\\.githubusercontent\\.com"
43+
"objects\\.githubusercontent\\.com",
44+
# The bug listing URL works only if an user is logged in, otherwise one gets 404.
45+
"github\\.com/issues\\?",
46+
# Handle: connection closed before message completed
47+
"microsoft\\.com/en-us/research/publication/",
4448
]
4549
cache-timeout = 86400
4650
warning-policy = "error"

0 commit comments

Comments
 (0)