about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2020-10-08Update rustdoc intra-doc link docsCamelid-13/+40
* Describe generic parameters feature * Make general improvements to the docs
2020-10-08Recommend debug-logging instead of debugJoshua Nelson-20/+7
This makes the compiler faster to running without sacrificing too much performance. It still shows logging so contributors aren't confused by `debug!` doing nothing.
2020-10-08Better error messageWho? Me?!-1/+1
Co-authored-by: Camelid <camelidcamel@gmail.com>
2020-10-08Lol logic is hardWho? Me?!-1/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08add assertmark-0/+5
2020-10-08More debuggable bash settingsWho? Me?!-0/+3
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08Add comment referring to travis docsWho? Me?!-0/+1
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-08pin mdbook-linkcheck versionmark-1/+1
2020-10-08linkcheck only for changed files except in cron jobsmark-1/+22
2020-10-08Update more occurrences of system llvm linkJustus K-2/+2
2020-10-08Fix broken "system LLVM" linkStu-1/+1
2020-10-08Fix typos (#916)mautamu-2/+2
Fixed two typos.
2020-10-07Add section describing git hook functionalityCass-6/+20
This is a companion to [this PR](https://github.com/rust-lang/rust/pull/76356), which deals with including functionality for automatically running `tidy --bless` on each commit. Undo editor auto-formatting and clarify git hook renaming a word Phrasing Apply suggestions from code review Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-10-07Auto merge of #77119 - GuillaumeGomez:unclosed-html-tag-lint, r=jyn514bors-0/+35
Unclosed html tag lint Part of #67799. I think `@ollie27` will be interested (`@Manishearth` too since they opened the issue ;) ). r? `@jyn514`
2020-10-06Rollup merge of #76855 - jyn514:platform-specific, r=ollie27Yuki Okushi-21/+50
Revamp rustdoc docs about documentation using `cfg` - Move `cfg(doc)` out of `unstable-features`. It's not unstable. - Remove outdated reference to `everybody_loops`. - Improve wording in various places - Give an example of code this allows (and does not allow) - Link to `cfg(doc)` in `doc(cfg)` documentation. Since one is stable and the other is not, don't combine them. - Cleanup wording for `doc(cfg)` - Incorporate changes from #76849 - Mention that `doc(cfg)` is also for features Addresses https://github.com/rust-lang/rust/pull/76849#issuecomment-694516199. Obsoletes https://github.com/rust-lang/rust/pull/76849 (I made sure to fix the weird dashes too). r? @steveklabnik
2020-10-05Revamp rustdoc docs about documentation using `cfg`Joshua Nelson-21/+50
- Move `cfg(doc)` out of `unstable-features`. It's not unstable. - Remove outdated reference to `everybody_loops`. - Improve wording in various places - Give an example of code this allows (and does not allow) - Link to `cfg(doc)` in `doc(cfg)` documentation. Since one is stable and the other is not, don't combine them. - Cleanup wording for `doc(cfg)` - Incorporate changes from #76849 - Mention that `doc(cfg)` is also for features
2020-10-05Pass tune-cpu to LLVMMingye Wang-2/+18
I think this is how it should work...
2020-10-04Document `Assemble`Joshua Nelson-5/+18
2020-10-04Allow anyone to change the status of a PRLeSeulArtichaut-0/+7
2020-10-04Explain stages in terms of the compiler currently running (take N+1) (#857)Joshua Nelson-114/+127
* Explain stages in terms of the compiler currently running - Address some confusing points + stage N+1 -> stage N artifacts + Use more likely examples of an ABI break + stage N -> stage N compiler - Mention why rustc occasionally uses `cfg(bootstrap)` - Note that stage1 is built using two different versions - Add lots of examples + `test src/test/ui` and `test compiler/rustc` run different compilers 😢 + Separate examples of what to do from examples of what not to do - 'ship stage 1 artifacts' -> 'ship stage 2 compiler' This is hopefully less confusing. * build -> x.py build * Add section on build artifacts * Improve wording Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com> * uplifted -> assembled Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-10-04Link to .md files, rather than .htmlWho? Me?!-3/+3
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-10-04address lingering reviewer commentsmark-3/+7
2020-10-04Apply suggestions from code reviewGus Wynn-1/+3
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-04add noteGus Wynn-0/+5
2020-10-04add suggested workflow to setup nightly rustup for rustcGus Wynn-0/+16
2020-10-04Did more measurements on what exactly affects llvm-lines:Julian Wollersberger-14/+13
optimize, codegen-units and mir-opt do, but debug-assertions doesn't.
2020-10-04Document the usage of cargo-llvm-lines and -Ztimings.Julian Wollersberger-1/+80
2020-10-04Removes reg aliases since there are many ABIs: o32/n32/n64Lzu Tao-3/+0
2020-10-04Add asm! support for mips64Lzu Tao-10/+12
2020-10-04mips32: Add f64 hard-float supportLzu Tao-1/+1
co-authored-by: Amanieu <amanieu@gmail.com>
2020-10-03Document new way to not build LLVMAleksey Kladov-4/+13
Implemented in https://github.com/rust-lang/rust/pull/76349
2020-10-03hir_map -> hir()Santiago Pastorino-2/+2
2020-10-03Fix time periods for Triage WG procedureLeSeulArtichaut-2/+2
2020-10-03Update src/getting-started.mdTshepang Lekhonkhobe-1/+1
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-10-03Update src/getting-started.mdTshepang Lekhonkhobe-1/+1
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
2020-10-03Add a paragraph about reviewers and review latency in Getting Started chapterLeSeulArtichaut-0/+11
2020-10-03Use HTTPS whenever possible in bibliography links (#909)Camelid-20/+20
Also updated a few links that redirected.
2020-10-03Fix the report linkYuki Okushi-1/+1
2020-10-03Make invalid_html_tags lint only run on nightly and being allowed by defaultGuillaume Gomez-2/+4
2020-10-03Add doc for invalid_html_tag lintGuillaume Gomez-0/+33
2020-10-02Fix instructions for squashingCamelid-1/+1
`git merge-base master` does not work, you need `git merge-base master HEAD` instead.
2020-10-02Rollup merge of #76811 - GuillaumeGomez:doc-alias-name-restriction, ↵Jonas Schievink-0/+2
r=oli-obk,ollie27 Doc alias name restriction Fixes #76705.
2020-10-02Update doc alias documentationGuillaume Gomez-0/+2
2020-10-02add the last missing code highlight to t-compiler in the docsRoman-2/+2
2020-10-01Move aarch64-apple-darwin to tier 2Jake Goulding-3/+3
Drive-by fixes to update the naming of "OSX" [sic] to "macOS".
2020-10-01Fix incorrect windows linkJoshua Nelson-1/+1
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-10-01Add windows instructionsJoshua Nelson-1/+9
2020-10-01Recommend setting up `check_line_lengths` as a pre-commit scriptJoshua Nelson-9/+19
I've run into lots of annoying failures from this. - Make it runnable without arguments - Add it in the README
2020-10-01Rollup merge of #77202 - ehuss:defer-apple-sdkroot, r=petrochenkovDylan DPC-9/+8
Defer Apple SDKROOT detection to link time. This defers the detection of the SDKROOT for Apple iOS/tvOS targets to link time, instead of when the `Target` is defined. This allows commands that don't need to link to work (like `rustdoc` or `rustc --print=target-list`). This also makes `--print=target-list` a bit faster. This also removes the note in the platform support documentation about these targets being missing. When I wrote it, I misunderstood how the SDKROOT stuff worked. Notes: * This means that JSON spec targets can't explicitly override these flags. I think that is probably fine, as I believe the value is generally required, and can be set with the SDKROOT environment variable. * This changes `x86_64-apple-tvos` to use `appletvsimulator`. I think the original code was wrong (it was using `iphonesimulator`). Also, `x86_64-apple-tvos` seems broken in general, and I cannot build it locally. The `data_layout` does not appear to be correct (it is a copy of the arm64 layout instead of the x86_64 layout). I have not tried building Apple's LLVM to see if that helps, but I suspect it is just wrong (I'm uncertain since I don't know how the tvOS simulator works with its bitcode-only requirements). * I'm tempted to remove the use of `Result` for built-in target definitions, since I don't think they should be fallible. This was added in https://github.com/rust-lang/rust/pull/34980, but that only relates to JSON definitions. I think the built-in targets shouldn't fail. I can do this now, or not. Fixes #36156 Fixes #76584
2020-09-30Auto merge of #77372 - jonas-schievink:rollup-e5bdzga, r=jonas-schievinkbors-0/+8
Rollup of 12 pull requests Successful merges: - #77037 (more tiny clippy cleanups) - #77233 (BTreeMap: keep an eye out on the size of the main components) - #77280 (Ensure that all LLVM components requested by tests are available on CI) - #77284 (library: Forward compiler-builtins "mem" feature) - #77296 (liveness: Use Option::None to represent absent live nodes) - #77322 (Add unstable book docs for `-Zunsound-mir-opts`) - #77328 (Use `rtassert!` instead of `assert!` from the child process after fork() in std::sys::unix::process::Command::spawn()) - #77331 (Add test for async/await combined with const-generics.) - #77338 (Fix typo in alloc vec comment) - #77340 (Alloc vec use imported path) - #77345 (Add test for issue #74761) - #77348 (Update books) Failed merges: r? `@ghost`