[package]
name = "cargo"
-version = "0.50.0"
+version = "0.51.0"
edition = "2018"
authors = ["Yehuda Katz <wycats@gmail.com>",
"Carl Lerche <me@carllerche.com>",
#[cargo_test]
fn relative_depinfo_paths_ws() {
if !is_nightly() {
- // See https://github.com/rust-lang/rust/issues/63012
+ // -Z binary-dep-depinfo is unstable (https://github.com/rust-lang/rust/issues/63012)
return;
}
#[cargo_test]
fn relative_depinfo_paths_no_ws() {
if !is_nightly() {
- // See https://github.com/rust-lang/rust/issues/63012
+ // -Z binary-dep-depinfo is unstable (https://github.com/rust-lang/rust/issues/63012)
return;
}
#[cargo_test]
fn canonical_path() {
if !is_nightly() {
- // See https://github.com/rust-lang/rust/issues/63012
+ // -Z binary-dep-depinfo is unstable (https://github.com/rust-lang/rust/issues/63012)
return;
}
if !cargo_test_support::symlink_supported() {
#[cargo_test]
fn doc_cap_lints() {
- if !is_nightly() {
- // This can be removed once intra_doc_link_resolution_failure fails on stable.
- return;
- }
let a = git::new("a", |p| {
p.file("Cargo.toml", &basic_lib_manifest("a"))
.file("src/lib.rs", BAD_INTRA_LINK_LIB)
#[cargo_test]
fn doc_message_format() {
- if !is_nightly() {
- // This can be removed once intra_doc_link_resolution_failure fails on stable.
- return;
- }
let p = project().file("src/lib.rs", BAD_INTRA_LINK_LIB).build();
p.cargo("doc --message-format=json")
#[cargo_test]
fn short_message_format() {
- if !is_nightly() {
- // This can be removed once intra_doc_link_resolution_failure fails on stable.
- return;
- }
let p = project().file("src/lib.rs", BAD_INTRA_LINK_LIB).build();
p.cargo("doc --message-format=short")
.with_status(101)
#[cfg_attr(target_os = "macos", ignore)]
fn strip_works() {
if !is_nightly() {
+ // -Zstrip is unstable
return;
}
#[cargo_test]
fn strip_requires_cargo_feature() {
- if !is_nightly() {
- return;
- }
-
let p = project()
.file(
"Cargo.toml",
)
.run();
}
+
#[cargo_test]
fn strip_rejects_invalid_option() {
- if !is_nightly() {
- return;
- }
-
let p = project()
.file(
"Cargo.toml",
#[cargo_test]
fn exported_priv_warning() {
if !is_nightly() {
+ // exported_private_dependencies lint is unstable
return;
}
Package::new("priv_dep", "0.1.0")
#[cargo_test]
fn exported_pub_dep() {
if !is_nightly() {
+ // exported_private_dependencies lint is unstable
return;
}
Package::new("pub_dep", "0.1.0")
#[cargo_test]
fn bench_default_features() {
if !is_nightly() {
+ // #[bench] is unstable
return;
}
#[cargo_test]
fn bench_arg_features() {
if !is_nightly() {
+ // #[bench] is unstable
return;
}
#[cargo_test]
fn bench_multiple_required_features() {
if !is_nightly() {
+ // #[bench] is unstable
return;
}