File tree 5 files changed +9
-9
lines changed
5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Rust, as well as publications about Rust.
11
11
* [ Making ad-hoc polymorphism less ad hoc] ( https://dl.acm.org/doi/10.1145/75277.75283 )
12
12
* [ Macros that work together] ( https://www.cs.utah.edu/plt/publications/jfp12-draft-fcdf.pdf )
13
13
* [ Traits: composable units of behavior] ( http://scg.unibe.ch/archive/papers/Scha03aTraits.pdf )
14
- * [ Alias burying] ( http ://www.cs.uwm.edu/faculty/boyland/papers/unique-preprint.ps ) - We tried something similar and abandoned it.
14
+ * [ Alias burying] ( https ://dl.acm.org/doi/10.1002/spe.370 ) - We tried something similar and abandoned it.
15
15
* [ External uniqueness is unique enough] ( http://www.cs.uu.nl/research/techreps/UU-CS-2002-048.html )
16
16
* [ Uniqueness and Reference Immutability for Safe Parallelism] ( https://research.microsoft.com/pubs/170528/msr-tr-2012-79.pdf )
17
17
* [ Region Based Memory Management] ( https://www.cs.ucla.edu/~palsberg/tba/papers/tofte-talpin-iandc97.pdf )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ contributions to rustc and its design.
11
11
12
12
Currently the compiler team chats in Zulip:
13
13
14
- - Team chat occurs in the ` t-compiler ` stream on [ the Zulip instance] [ zulip ]
14
+ - Team chat occurs in the [ ` t-compiler ` ] [ zulip-t-compiler ] stream on the Zulip instance
15
15
- There are also a number of other associated Zulip streams,
16
16
such as [ ` t-compiler/help ` ] [ zulip-help ] , where people can ask for help
17
17
with rustc development, or [ ` t-compiler/meetings ` ] [ zulip-meetings ] ,
@@ -60,8 +60,8 @@ The meeting currently takes place on Thursdays at 10am Boston time
60
60
(UTC-4 typically, but daylight savings time sometimes makes things
61
61
complicated).
62
62
63
-
64
63
[ procedure ] : ./bug-fix-procedure.md
64
+ [ zulip-t-compiler ] : https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler
65
65
[ zulip-help ] : https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp
66
66
[ zulip-meetings ] : https://rust-lang.zulipchat.com/#narrow/stream/238009-t-compiler.2Fmeetings
67
67
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ See the [HIR chapter][hir-map] for more detailed information.
53
53
[ `LocalDefId` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/def_id/struct.LocalDefId.html
54
54
[ `HirId` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/hir_id/struct.HirId.html
55
55
[ `BodyId` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/struct.BodyId.html
56
- [ `CrateNum` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/def_id/enum .CrateNum.html
56
+ [ `CrateNum` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/def_id/struct .CrateNum.html
57
57
[ `DefIndex` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/def_id/struct.DefIndex.html
58
58
[ `Body` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/struct.Body.html
59
59
[ Node ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/hir/enum.Node.html
Original file line number Diff line number Diff line change @@ -155,10 +155,10 @@ providers**. Almost all **extern providers** wind up going through the
155
155
from the crate metadata. But in some cases there are crates that
156
156
provide queries for * both* local and external crates, in which case
157
157
they define both a ` provide ` and a ` provide_extern ` function, through
158
- [ ` provide_both ` ] [ ext_provide_both ] , that ` rustc_driver ` can invoke.
158
+ [ ` wasm_import_module_map ` ] [ wasm_import_module_map ] , that ` rustc_driver ` can invoke.
159
159
160
160
[ rustc_metadata ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_metadata/index.html
161
- [ ext_provide_both ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_llvm/attributes/ fn.provide_both .html
161
+ [ wasm_import_module_map ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_ssa/back/symbol_export/ fn.wasm_import_module_map .html
162
162
163
163
### Adding a new kind of query
164
164
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ But it has some other interesting features that distinguish it from the HIR:
34
34
[ HIR ] : ./hir.md
35
35
36
36
The THIR lives in [ ` rustc_mir_build::thir ` ] [ thir-docs ] . To construct a [ ` thir::Expr ` ] ,
37
- you can use the [ ` build_thir ` ] function, passing in the memory arena where the THIR
37
+ you can use the [ ` thir_body ` ] function, passing in the memory arena where the THIR
38
38
will be allocated. Dropping this arena will result in the THIR being destroyed,
39
39
which is useful to keep peak memory in check. Having a THIR representation of
40
40
all bodies of a crate in memory at the same time would be very heavy.
@@ -43,5 +43,5 @@ You can get a debug representation of the THIR by passing the `-Zunpretty=thir-t
43
43
to ` rustc ` .
44
44
45
45
[ thir-docs ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_build/thir/index.html
46
- [ `thir::Expr` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_build /thir/struct.Expr.html
47
- [ `build_thir ` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir_build/thir/fn.build_thir .html
46
+ [ `thir::Expr` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle /thir/struct.Expr.html
47
+ [ `thir_body ` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt .html#method.thir_body
You can’t perform that action at this time.
0 commit comments