Add rerun_except to root crate

Cargo is finding more reasons to do unnecessary rebuilds, so I've added
the rerun_except crate to its build.rs as well to ignore .asm files
before recompiling.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-03-09 16:38:41 -04:00
parent 65972fcbbe
commit 4ae060c68d
3 changed files with 11 additions and 0 deletions

1
Cargo.lock generated
View File

@@ -532,6 +532,7 @@ name = "rasp"
version = "0.1.0"
dependencies = [
"libvm 0.1.0",
"rerun_except 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"snafu 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
"structopt 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
]

View File

@@ -10,3 +10,6 @@ edition = "2018"
structopt = "0.3"
snafu = "0.6.2"
libvm = { path = "src/libvm" }
[build-dependencies]
rerun_except = "0.1"

7
build.rs Normal file
View File

@@ -0,0 +1,7 @@
use rerun_except::rerun_except;
fn main() {
rerun_except(&[
"*.asm",
]).unwrap();
}