You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/doc/unstable-book/src/language-features/rustc-private.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,9 @@ The tracking issue for this feature is: [#27812]
6
6
7
7
------------------------
8
8
9
-
This feature allows access to unstable internal compiler crates.
9
+
This feature allows access to unstable internal compiler crates such as `rustc_driver`.
10
10
11
-
Additionally it changes the linking behavior of crates which have this feature enabled. It will prevent linking to a dylib if there's a static variant of it already statically linked into another dylib dependency. This is required to successfully link to `rustc_driver`.
11
+
The presence of this feature changes the way the linkage format for dylibs is calculated in a way
12
+
that is necessary for linking against dylibs that statically link `std` (such as `rustc_driver`).
13
+
This makes this feature "viral" in linkage; its use in a given crate makes its use required in
14
+
dependent crates which link to it (including integration tests, which are built as separate crates).
0 commit comments