Skip to content

Commit

Permalink
Remove dir-name from unstable docs
Browse files Browse the repository at this point in the history
Allowing the `dir-name` key for profiles was removed in rust-lang#9685.
  • Loading branch information
ehuss committed Mar 2, 2023
1 parent 7cba527 commit 97d4d38
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,20 +235,6 @@ information from `.cargo/config.toml`. See the rustc issue for more information.
cargo test --target foo -Zdoctest-xcompile
```

#### New `dir-name` attribute

Some of the paths generated under `target/` have resulted in a de-facto "build
protocol", where `cargo` is invoked as a part of a larger project build. So, to
preserve the existing behavior, there is also a new attribute `dir-name`, which
when left unspecified, defaults to the name of the profile. For example:

```toml
[profile.release-lto]
inherits = "release"
dir-name = "lto" # Emits to target/lto instead of target/release-lto
lto = true
```

### Build-plan
* Tracking Issue: [#5579](https://github.com/rust-lang/cargo/issues/5579)

Expand Down

0 comments on commit 97d4d38

Please sign in to comment.