mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
tests: we now allow a profile.debug
This commit is contained in:
parent
55f4b67555
commit
a72c405fe5
@ -699,19 +699,13 @@ warning: unused manifest key: target.foo.bar
|
||||
|
||||
[profile.debug]
|
||||
debug = 1
|
||||
inherits = "dev"
|
||||
"#,
|
||||
)
|
||||
.file("src/lib.rs", "")
|
||||
.build();
|
||||
|
||||
p.cargo("build")
|
||||
.with_stderr(
|
||||
"\
|
||||
warning: unused manifest key: profile.debug
|
||||
warning: use `[profile.dev]` to configure debug builds
|
||||
[..]
|
||||
[..]",
|
||||
)
|
||||
.run();
|
||||
|
||||
let p = project()
|
||||
|
Loading…
x
Reference in New Issue
Block a user