mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Warn when Cargo is run directly. Fix #3957.
This commit is contained in:
parent
2f413c8937
commit
ff4877b473
3 changed files with 21 additions and 0 deletions
9
support/not-the-toml-you-re-looking-for.rs
Normal file
9
support/not-the-toml-you-re-looking-for.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
fn main() {
|
||||
::std::os::set_exit_status(1);
|
||||
let _ = ::std::io::stderr().write(br"
|
||||
|
||||
This is not the `Cargo.toml` file you're looking for.
|
||||
Invoke Cargo through mach instead, e.g. `./mach build`.
|
||||
|
||||
");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue