Skip to content

Commit

Permalink
Auto merge of #9057 - roblabla:patch-2, r=ehuss
Browse files Browse the repository at this point in the history
Unstable section of cargo/config.toml takes bools

At least according to a quick local test, those should not be strings, but booleans! With the following cargo config:

```toml
[unstable]
mtime-on-use = 'yes'
```

I get the following cargo output:

```
error: error in /root/builds/hlab/isengard/agent-rust/.cargo_cache/config: `unstable.mtime-on-use` expected true/false, but found a string
```
  • Loading branch information
bors committed Jan 8, 2021
2 parents 8e403e5 + 203aac4 commit faf05ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ config file (`.cargo/config.toml`) in the `unstable` table. For example:

```toml
[unstable]
mtime-on-use = 'yes'
multitarget = 'yes'
timings = 'yes'
mtime-on-use = true
multitarget = true
timings = ["html"]
```

Some unstable features will require you to specify the `cargo-features` key in
Expand Down

0 comments on commit faf05ac

Please sign in to comment.