Skip to content

Commit 442ba10

Browse files
authored
Update around half of the January 2021 date references (#1155)
1 parent ea66b23 commit 442ba10

File tree

7 files changed

+11
-20
lines changed

7 files changed

+11
-20
lines changed

src/compiler-src.md

-9
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22

33
<!-- toc -->
44

5-
> **NOTE**: The structure of the repository is going through a lot of
6-
> transitions. In particular, we want to get to a point eventually where the
7-
> top-level directory has separate directories for the compiler, build-system,
8-
> std libs, etc, rather than one huge `src/` directory.
9-
>
10-
> As of <!-- date: 2021-01 --> January 2021, the standard libraries have been
11-
> moved to `library/` and the crates that make up the `rustc` compiler itself
12-
> have been moved to `compiler/`.
13-
145
Now that we have [seen what the compiler does](./overview.md), let's take a
156
look at the structure of the contents of the rust-lang/rust repo.
167

src/diagnostics/lintstore.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ First, we have the lint declarations themselves: this is where the name and defa
1717
other metadata come from. These are normally defined by way of the [`declare_lint!`] macro, which
1818
boils down to a static with type `&rustc_session::lint::Lint`.
1919

20-
As of <!-- date: 2021-01 --> January 2021, we lint against direct declarations
20+
As of <!-- date: 2021-07 --> July 2021, we lint against direct declarations
2121
without the use of the macro today (although this may change in the future, as
2222
the macro is somewhat unwieldy to add new fields to, like all macros by
2323
example).

src/git.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ no changes added to commit (use "git add" and/or "git commit -a")
157157
These changes are not changes to files: they are changes to submodules (more on
158158
this [later](#git-submodules)). To get rid of those, run `git submodule update`
159159
(or run any `x.py` command, which will automatically update the submodules).
160-
Note that there is (as of <!-- date: 2021-01 --> January 2021) a bug if you use
160+
Note that there is (as of <!-- date: 2021-07 --> July 2021) a [bug][#77620] if you use
161161
worktrees, submodules, and x.py in a commit hook. If you run into an error
162162
like:
163163

@@ -167,9 +167,10 @@ error: failed to read `/home/joshua/rustc-worktree/src/tools/miri/cargo-miri/Car
167167
Caused by:
168168
No such file or directory (os error 2)
169169
```
170-
it's not anything you did wrong. There is a workaround at [#77620].
170+
it's not anything you did wrong. There is a workaround in [the issue][#77620-workaround].
171171

172-
[#77620]: https://github.com/rust-lang/rust/issues/77620#issuecomment-705228229
172+
[#77620]: https://github.com/rust-lang/rust/issues/77620
173+
[#77620-workaround]: https://github.com/rust-lang/rust/issues/77620#issuecomment-705228229
173174

174175
## Rebasing and Conflicts
175176

src/miri.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,9 @@ Miri's virtual memory. This is in contrast to `Scalar::Raw`, which is just some
197197
concrete integer.
198198

199199
However, a variable of pointer or reference *type*, such as `*const T` or `&T`,
200-
does not have to have a pointer *value*: it could be obtaining by casting or
201-
transmuting an integer to a pointer (as of <!-- date: 2021-01 --> January 2021
202-
that is hard to do in const eval, but eventually `transmute` will be stable as a
203-
`const fn`). And similarly, when casting or transmuting a reference to some
200+
does not have to have a pointer *value*: it could be obtained by casting or
201+
transmuting an integer to a pointer.
202+
And similarly, when casting or transmuting a reference to some
204203
actual allocation to an integer, we end up with a pointer *value*
205204
(`Scalar::Ptr`) at integer *type* (`usize`). This is a problem because we
206205
cannot meaningfully perform integer operations such as division on pointer

src/parallel-rustc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Most of the compiler is not parallel. This represents an opportunity for
44
improving compiler performance.
55

6-
As of <!-- date: 2021-01 --> January 2021, work on explicitly parallelizing the
6+
As of <!-- date: 2021-07 --> July 2021, work on explicitly parallelizing the
77
compiler has stalled. There is a lot of design and correctness work that needs
88
to be done.
99

src/query.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Queries: demand-driven compilation
22

33
As described in [the high-level overview of the compiler][hl], the Rust compiler
4-
is still (as of <!-- date: 2021-01 --> January 2021) transitioning from a
4+
is still (as of <!-- date: 2021-07 --> July 2021) transitioning from a
55
traditional "pass-based" setup to a "demand-driven" system. **The Compiler Query
66
System is the key to our new demand-driven organization.** The idea is pretty
77
simple. You have various queries that compute things about the input – for

src/salsa.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ want to watch [Salsa In More
99
Depth](https://www.youtube.com/watch?v=i_IhACacPRY), also by Niko
1010
Matsakis.
1111

12-
> As of <!-- date: 2021-01 --> January 2021, although Salsa is inspired by
12+
> As of <!-- date: 2021-07 --> July 2021, although Salsa is inspired by
1313
> (among other things) rustc's query system, it is not used directly in rustc.
1414
> It _is_ used in chalk and extensively in `rust-analyzer`, but there are no
1515
> medium or long-term concrete plans to integrate it into the compiler.

0 commit comments

Comments
 (0)