mirror of https://github.com/rust-lang/rfcs
fix(ref): Be more explicit about auto behavior
This commit is contained in:
parent
b1b8f2b601
commit
5efca85292
|
@ -509,7 +509,7 @@ Users may pass
|
|||
## `cargo publish`
|
||||
|
||||
We will add `"auto"` for `package.rust-version`.
|
||||
On `cargo publish`, `"auto"` in `Cargo.toml` will be replaced by `rustc --version`.
|
||||
On `cargo publish` / `cargo package`, the generated `*.crate`s `Cargo.toml` will have `"auto"` replaced with `rustc --version`.
|
||||
If `rustc --version` is a pre-release, it will be left as unspecified.
|
||||
|
||||
`cargo new` will include `package.rust-version = "auto"`.
|
||||
|
|
Loading…
Reference in New Issue