Skip to content

Commit 97d4d38

Browse files
committed
Remove dir-name from unstable docs
Allowing the `dir-name` key for profiles was removed in #9685.
1 parent 7cba527 commit 97d4d38

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/doc/src/reference/unstable.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -235,20 +235,6 @@ information from `.cargo/config.toml`. See the rustc issue for more information.
235235
cargo test --target foo -Zdoctest-xcompile
236236
```
237237

238-
#### New `dir-name` attribute
239-
240-
Some of the paths generated under `target/` have resulted in a de-facto "build
241-
protocol", where `cargo` is invoked as a part of a larger project build. So, to
242-
preserve the existing behavior, there is also a new attribute `dir-name`, which
243-
when left unspecified, defaults to the name of the profile. For example:
244-
245-
```toml
246-
[profile.release-lto]
247-
inherits = "release"
248-
dir-name = "lto" # Emits to target/lto instead of target/release-lto
249-
lto = true
250-
```
251-
252238
### Build-plan
253239
* Tracking Issue: [#5579](https://github.com/rust-lang/cargo/issues/5579)
254240

0 commit comments

Comments
 (0)