Added misc for rust-mode and compiler hook