mirror of https://github.com/rust-lang/cargo
Docs(crates/cargo-test-*): Add external usage warning
As discussed in #10147. Signed-off-by: Paul Mabileau <paulmabileau@hotmail.fr>
This commit is contained in:
parent
29c45d0e66
commit
f422e96b31
|
@ -0,0 +1,5 @@
|
|||
WARNING: You might not want to use this outside of Cargo.
|
||||
|
||||
* This is designed for testing Cargo itself. Use at your own risk.
|
||||
* No guarantee on any stability across versions.
|
||||
* No feature request would be accepted unless proved useful for testing Cargo.
|
|
@ -1,3 +1,14 @@
|
|||
//! # Cargo test macro.
|
||||
//!
|
||||
//! This is meant to be consumed alongside `cargo-test-support`. See
|
||||
//! <https://rust-lang.github.io/cargo/contrib/> for a guide on writing tests.
|
||||
//!
|
||||
//! WARNING: You might not want to use this outside of Cargo.
|
||||
//!
|
||||
//! * This is designed for testing Cargo itself. Use at your own risk.
|
||||
//! * No guarantee on any stability across versions.
|
||||
//! * No feature request would be accepted unless proved useful for testing Cargo.
|
||||
|
||||
use proc_macro::*;
|
||||
use std::path::Path;
|
||||
use std::process::Command;
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
WARNING: You might not want to use this outside of Cargo.
|
||||
|
||||
* This is designed for testing Cargo itself. Use at your own risk.
|
||||
* No guarantee on any stability across versions.
|
||||
* No feature request would be accepted unless proved useful for testing Cargo.
|
|
@ -1,6 +1,12 @@
|
|||
//! # Cargo test support.
|
||||
//!
|
||||
//! See <https://rust-lang.github.io/cargo/contrib/> for a guide on writing tests.
|
||||
//!
|
||||
//! WARNING: You might not want to use this outside of Cargo.
|
||||
//!
|
||||
//! * This is designed for testing Cargo itself. Use at your own risk.
|
||||
//! * No guarantee on any stability across versions.
|
||||
//! * No feature request would be accepted unless proved useful for testing Cargo.
|
||||
|
||||
#![allow(clippy::disallowed_methods)]
|
||||
#![allow(clippy::print_stderr)]
|
||||
|
|
Loading…
Reference in New Issue