Skip to content

Commit

Permalink
Add the notion of a dependency tracking status to commandline arguments.
Browse files Browse the repository at this point in the history
Commandline arguments influence whether incremental compilation
can use its compilation cache and thus their changes relative to
previous compilation sessions need to be taking into account. This
commit makes sure that one has to specify for every commandline
argument whether it influences incremental compilation or not.
  • Loading branch information
michaelwoerister committed Aug 11, 2016
1 parent 695b3d8 commit 3241431
Show file tree
Hide file tree
Showing 17 changed files with 1,252 additions and 202 deletions.
2 changes: 1 addition & 1 deletion src/librustc/lint/mod.rs
Expand Up @@ -269,7 +269,7 @@ impl LintId {
}

/// Setting for how to handle a lint.
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug)]
#[derive(Clone, Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum Level {
Allow, Warn, Deny, Forbid
}
Expand Down
2 changes: 1 addition & 1 deletion src/librustc/middle/cstore.rs
Expand Up @@ -73,7 +73,7 @@ pub enum LinkagePreference {
}

enum_from_u32! {
#[derive(Copy, Clone, PartialEq)]
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum NativeLibraryKind {
NativeStatic, // native static library (.a archive)
NativeFramework, // OSX-specific
Expand Down

0 comments on commit 3241431

Please sign in to comment.