about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2024-08-10 08:29:12 +0200
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2024-08-11 04:16:53 +0200
commit56beb1d744cf5d5b6ab9e802efdf716e15b088f2 (patch)
tree8af3fbdec371685bc3d74b5aa8a186050862cd14
parent486864f23593d7aedddf1831f748660311f9ff3c (diff)
downloadrust-56beb1d744cf5d5b6ab9e802efdf716e15b088f2.tar.gz
rust-56beb1d744cf5d5b6ab9e802efdf716e15b088f2.zip
Update the unstable book
-rw-r--r--src/doc/unstable-book/src/language-features/rustc-private.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/language-features/rustc-private.md b/src/doc/unstable-book/src/language-features/rustc-private.md
new file mode 100644
index 00000000000..97fce5980e4
--- /dev/null
+++ b/src/doc/unstable-book/src/language-features/rustc-private.md
@@ -0,0 +1,11 @@
+# `rustc_private`
+
+The tracking issue for this feature is: [#27812]
+
+[#27812]: https://github.com/rust-lang/rust/issues/27812
+
+------------------------
+
+This feature allows access to unstable internal compiler crates.
+
+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`.