From 56beb1d744cf5d5b6ab9e802efdf716e15b088f2 Mon Sep 17 00:00:00 2001 From: John Kåre Alsaker Date: Sat, 10 Aug 2024 08:29:12 +0200 Subject: Update the unstable book --- src/doc/unstable-book/src/language-features/rustc-private.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/doc/unstable-book/src/language-features/rustc-private.md (limited to 'src') 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`. -- cgit 1.4.1-3-g733a5