File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -365,11 +365,11 @@ that unification can be unwanted. The exact situations are described in the
365
365
[ resolver chapter] [ resolver-v2 ] , but in short, it avoids unifying in these
366
366
situations:
367
367
368
- * Features enabled on [ platform-specific dependencies] for targets not
368
+ * Features enabled on [ platform-specific dependencies] for [ target architectures ] [ target ] not
369
369
currently being built are ignored.
370
370
* [ Build-dependencies] and proc-macros do not share features with normal
371
371
dependencies.
372
- * [ Dev-dependencies] do not activate features unless building a target that
372
+ * [ Dev-dependencies] do not activate features unless building a [ cargo target] [ target ] that
373
373
needs them (like tests or examples).
374
374
375
375
Avoiding the unification is necessary for some situations. For example, if a
@@ -393,6 +393,8 @@ the resolved features. For build dependencies, this is not necessary if you
393
393
are cross-compiling with the ` --target ` flag because build dependencies are
394
394
always built separately from normal dependencies in that scenario.
395
395
396
+ [ target ] : ../appendix/glossary.md#target
397
+
396
398
### Resolver version 2 command-line flags
397
399
398
400
The ` resolver = "2" ` setting also changes the behavior of the ` --features ` and
You can’t perform that action at this time.
0 commit comments