1
Fork 0

Disable some example which don't compile yet

This commit is contained in:
bjorn3 2018-08-15 14:49:36 +02:00
parent 7f2a887c83
commit 7f2a8f8a66
3 changed files with 10 additions and 7 deletions

View file

@ -99,6 +99,7 @@ mod prelude {
pub use crate::{CodegenCx, ModuleTup};
pub fn should_codegen(sess: &Session) -> bool {
//return true;
::std::env::var("SHOULD_CODEGEN").is_ok()
|| sess.crate_types.get().contains(&CrateType::Executable)
}