From 951b3f90813ee8dfad6176507b824c37d00ad1e4 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Fri, 21 Apr 2017 13:57:57 -0400 Subject: [PATCH] Tweak aliases Pass some "ignore error" flags to rust compiler --- aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aliases b/aliases index c5db54d..30bb58e 100644 --- a/aliases +++ b/aliases @@ -49,9 +49,9 @@ alias bld='brew link --overwrite --dry-run' alias bower='noglob bower' alias bu='bundle update' alias bo='bundle open' -alias cr='cargo run' +alias cr='RUSTFLAGS="$RUSTFLAGS -A unused_variables -A dead_code -A unused_parens" cargo run' alias crr='cargo run --release' -alias cb='cargo build' +alias cb='RUSTFLAGS="$RUSTFLAGS -A unused_variables -A dead_code -A unused_parens" cargo build' alias cbr='cargo build --release' alias clipboard='xclip -selection c' alias cloc='cloc --no3 --by-file-by-lang .'