|
81 | 81 | - [Added the `resolver` field to `Cargo.toml` to enable the new feature resolver
|
82 | 82 | and CLI option behavior.][cargo/8997] Version 2 of the feature resolver will try
|
83 | 83 | to avoid unifying features of dependencies where that unification could be unwanted.
|
84 |
| - Such as using the same dependency at build time (such as build scripts and |
85 |
| - proc-macros). See the [Cargo book documentation][feature-resolver@2.0] |
86 |
| - for more information on the feature. |
87 |
| - |
88 |
| -[feature-resolver@2.0]: https://doc.rust-lang.org/nightly/cargo/reference/features.html#feature-resolver-version-2 |
89 |
| -[cargo/8997]: https://github.com/rust-lang/cargo/pull/8997 |
90 |
| -[cargo/9112]: https://github.com/rust-lang/cargo/pull/9112 |
| 84 | + Such as using the same dependency with a `std` feature in a build scripts and |
| 85 | + proc-macros, while using the `no-std` feature in the final binary. See the |
| 86 | + [Cargo book documentation][feature-resolver@2.0] for more information on the feature. |
91 | 87 |
|
92 | 88 | Rustdoc
|
93 | 89 | -------
|
@@ -145,6 +141,9 @@ Internal Only
|
145 | 141 | [80749]: https://github.com/rust-lang/rust/pull/80749
|
146 | 142 | [80662]: https://github.com/rust-lang/rust/pull/80662
|
147 | 143 | [77885]: https://github.com/rust-lang/rust/pull/77885
|
| 144 | +[cargo/8997]: https://github.com/rust-lang/cargo/pull/8997 |
| 145 | +[cargo/9112]: https://github.com/rust-lang/cargo/pull/9112 |
| 146 | +[feature-resolver@2.0]: https://doc.rust-lang.org/nightly/cargo/reference/features.html#feature-resolver-version-2 |
148 | 147 | [`Once::call_once_force`]: https://doc.rust-lang.org/stable/std/sync/struct.Once.html#method.call_once_force
|
149 | 148 | [`sync::OnceState`]: https://doc.rust-lang.org/stable/std/sync/struct.OnceState.html
|
150 | 149 | [`panic::panic_any`]: https://doc.rust-lang.org/stable/std/panic/fn.panic_any.html
|
|
0 commit comments