mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Auto merge of #11231 - hi-rustin:rustin-patch-build-doc, r=epage
Add missing edition ### What does this PR try to resolve? When I read this doc, I found that we are missing the edition key in this manifest. I think we should add it because `cargo new` always does this.
This commit is contained in:
commit
0b61503914
@ -49,6 +49,7 @@ Here we can see that we have a `build.rs` build script and our binary in
|
|||||||
[package]
|
[package]
|
||||||
name = "hello-from-generated-code"
|
name = "hello-from-generated-code"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
```
|
```
|
||||||
|
|
||||||
Let’s see what’s inside the build script:
|
Let’s see what’s inside the build script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user