Skip to content

Commit 10c0a3f

Browse files
committed
Don't use a footnote
1 parent 322e33a commit 10c0a3f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

content/inside-rust/call-for-testing-hint-mostly-unused.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,13 @@ future.
1515
## Background
1616

1717
When building a Rust library crate, the compiler generates compiled code for as
18-
much of the crate as it can[^1], which
19-
gets linked into later crates into the dependency graph. However, some crates
20-
provide comprehensive APIs with a very large surface area, yet many of their
21-
users need only a few entry points. In such cases, the compiler currently
18+
much of the crate as it can (everything that isn't generic and isn't inlined),
19+
which gets linked into later crates into the dependency graph. However, some
20+
crates provide comprehensive APIs with a very large surface area, yet many of
21+
their users need only a few entry points. In such cases, the compiler currently
2222
spends time generating code for the entire crate, and the linker then ends up
2323
throwing most of that code away as unused.
2424

25-
[^1]: Roughly, everything that isn't generic and isn't inlined.
26-
2725
This can waste a substantial amount of compile time. Some large crates can take
2826
minutes to compile, and when you use these large crates as dependencies, they
2927
can take a disproportionate amount of the entire compilation time of your

0 commit comments

Comments
 (0)