Skip to content

Commit 5509ab2

Browse files
committed
Update a comment to reflect the new status quo established in this PR.
1 parent a2231a4 commit 5509ab2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler/rustc_metadata/src/dependency_format.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
//! all dynamic. This isn't currently very well battle tested, so it will likely
4747
//! fall short in some use cases.
4848
//!
49-
//! Currently, there is no way to specify the preference of linkage with a
50-
//! particular library (other than a global dynamic/static switch).
51-
//! Additionally, the algorithm is geared towards finding *any* solution rather
52-
//! than finding a number of solutions (there are normally quite a few).
49+
//! The algorithm is geared towards finding *any* solution rather than finding a
50+
//! number of solutions (there are normally quite a few). One can specify the
51+
//! preference of linkage for a particular list of crates by specifying that
52+
//! list via `-C prefer-dynamic=crate1,crate2,...`.
5353
5454
use crate::creader::CStore;
5555

0 commit comments

Comments
 (0)