mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-09 21:42:44 +00:00
Add #![deny(warnings)]
to internal tools
This commit is contained in:
parent
7b907ded0e
commit
7342325dfb
@ -4,6 +4,8 @@
|
||||
//! via `x.py dist hash-and-sign`; the cmdline arguments are set up
|
||||
//! by rustbuild (in `src/bootstrap/dist.rs`).
|
||||
|
||||
#![deny(warnings)]
|
||||
|
||||
use toml;
|
||||
use serde::Serialize;
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![deny(warnings)]
|
||||
|
||||
use std::env;
|
||||
use std::process::Command;
|
||||
use std::path::{Path, PathBuf};
|
||||
|
@ -1,6 +1,7 @@
|
||||
#![crate_name = "compiletest"]
|
||||
#![feature(test)]
|
||||
#![feature(vec_remove_item)]
|
||||
#![deny(warnings)]
|
||||
|
||||
extern crate test;
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#![feature(rustc_private)]
|
||||
#![deny(warnings)]
|
||||
|
||||
extern crate env_logger;
|
||||
extern crate syntax;
|
||||
|
@ -14,6 +14,8 @@
|
||||
//! A few whitelisted exceptions are allowed as there's known bugs in rustdoc,
|
||||
//! but this should catch the majority of "broken link" cases.
|
||||
|
||||
#![deny(warnings)]
|
||||
|
||||
use std::collections::hash_map::Entry;
|
||||
use std::collections::{HashMap, HashSet};
|
||||
use std::env;
|
||||
|
@ -1,9 +1,11 @@
|
||||
/// This is a small client program intended to pair with `remote-test-server` in
|
||||
/// this repository. This client connects to the server over TCP and is used to
|
||||
/// push artifacts and run tests on the server instead of locally.
|
||||
///
|
||||
/// Here is also where we bake in the support to spawn the QEMU emulator as
|
||||
/// well.
|
||||
//! This is a small client program intended to pair with `remote-test-server` in
|
||||
//! this repository. This client connects to the server over TCP and is used to
|
||||
//! push artifacts and run tests on the server instead of locally.
|
||||
//!
|
||||
//! Here is also where we bake in the support to spawn the QEMU emulator as
|
||||
//! well.
|
||||
|
||||
#![deny(warnings)]
|
||||
|
||||
use std::env;
|
||||
use std::fs::{self, File};
|
||||
|
@ -1,14 +1,16 @@
|
||||
/// This is a small server which is intended to run inside of an emulator or
|
||||
/// on a remote test device. This server pairs with the `remote-test-client`
|
||||
/// program in this repository. The `remote-test-client` connects to this
|
||||
/// server over a TCP socket and performs work such as:
|
||||
///
|
||||
/// 1. Pushing shared libraries to the server
|
||||
/// 2. Running tests through the server
|
||||
///
|
||||
/// The server supports running tests concurrently and also supports tests
|
||||
/// themselves having support libraries. All data over the TCP sockets is in a
|
||||
/// basically custom format suiting our needs.
|
||||
//! This is a small server which is intended to run inside of an emulator or
|
||||
//! on a remote test device. This server pairs with the `remote-test-client`
|
||||
//! program in this repository. The `remote-test-client` connects to this
|
||||
//! server over a TCP socket and performs work such as:
|
||||
//!
|
||||
//! 1. Pushing shared libraries to the server
|
||||
//! 2. Running tests through the server
|
||||
//!
|
||||
//! The server supports running tests concurrently and also supports tests
|
||||
//! themselves having support libraries. All data over the TCP sockets is in a
|
||||
//! basically custom format suiting our needs.
|
||||
|
||||
#![deny(warnings)]
|
||||
|
||||
use std::cmp;
|
||||
use std::env;
|
||||
|
@ -4,6 +4,8 @@
|
||||
//! etc. This is run by default on `make check` and as part of the auto
|
||||
//! builders.
|
||||
|
||||
#![deny(warnings)]
|
||||
|
||||
use tidy::*;
|
||||
|
||||
use std::process;
|
||||
|
@ -1,5 +1,7 @@
|
||||
//! Auto-generate stub docs for the unstable book
|
||||
|
||||
#![deny(warnings)]
|
||||
|
||||
use tidy::features::{Feature, Features, collect_lib_features, collect_lang_features};
|
||||
use tidy::unstable_book::{collect_unstable_feature_names, collect_unstable_book_section_file_names,
|
||||
PATH_STR, LANG_FEATURES_DIR, LIB_FEATURES_DIR};
|
||||
|
Loading…
Reference in New Issue
Block a user